C#: Fix targeting .NETFramework with Godot.NET.Sdk and .NET 5
Our target was overriding the official one, while not doing its job assuming it was already taken care of...
This commit is contained in:
parent
9b24d5f2d0
commit
d639941446
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<!-- Backported from newer Microsoft.NET.Sdk version -->
|
||||
<Target Name="IncludeTargetingPackReference" BeforeTargets="_GetRestoreSettingsPerFramework;_CheckForInvalidConfigurationAndPlatform"
|
||||
<Target Name="GodotIncludeTargetingPackReference" BeforeTargets="_GetRestoreSettingsPerFramework;_CheckForInvalidConfigurationAndPlatform"
|
||||
Condition=" '$(GodotUseNETFrameworkRefAssemblies)' == 'true' and '$(TargetFrameworkMoniker)' != '' and '$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(AutomaticallyUseReferenceAssemblyPackages)' == 'true' ">
|
||||
<GetReferenceAssemblyPaths
|
||||
TargetFrameworkMoniker="$(TargetFrameworkMoniker)"
|
||||
|
|
Loading…
Reference in a new issue