You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
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:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user