Skip to content

Commit 976e60e

Browse files
committed
Mark referenced packages in SDK as implicitly defined
Should improve package manager behavior and fix errors in solutions using CPM. NuGet/Home#13529 https://github.com/dotnet/sdk/pull/43151/files#r1746148520
1 parent 0ed1c19 commit 976e60e

File tree

1 file changed

+3
-3
lines changed
  • modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk

1 file changed

+3
-3
lines changed

modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525

2626
<!-- C# source generators -->
2727
<ItemGroup Condition=" '$(DisableImplicitGodotGeneratorReferences)' != 'true' ">
28-
<PackageReference Include="Godot.SourceGenerators" Version="$(PackageVersion_Godot_SourceGenerators)" />
28+
<PackageReference Include="Godot.SourceGenerators" IsImplicitlyDefined="true" Version="$(PackageVersion_Godot_SourceGenerators)" />
2929
</ItemGroup>
3030

3131
<!-- Godot API references -->
3232
<ItemGroup Condition=" '$(DisableImplicitGodotSharpReferences)' != 'true' ">
33-
<PackageReference Include="GodotSharp" Version="$(PackageVersion_GodotSharp)" />
34-
<PackageReference Include="GodotSharpEditor" Version="$(PackageVersion_GodotSharp)" Condition=" '$(Configuration)' == 'Debug' " />
33+
<PackageReference Include="GodotSharp" IsImplicitlyDefined="true" Version="$(PackageVersion_GodotSharp)" />
34+
<PackageReference Include="GodotSharpEditor" IsImplicitlyDefined="true" Version="$(PackageVersion_GodotSharp)" Condition=" '$(Configuration)' == 'Debug' " />
3535
</ItemGroup>
3636

3737
<!-- iOS-specific build targets -->

0 commit comments

Comments
 (0)