Skip to content

Commit a2fa47a

Browse files
Sergio0694Copilot
authored andcommitted
Use SDK-provided NuGet pack tasks
Remove the Release-only NuGet.Build.Tasks.Pack 6.12.1 pin. The old pack task misreads the alias-keyed assets produced by NuGet 7 restore, dropping implicit mobile platform versions and failing both package jobs with NU1012. Let the .NET SDK provide compatible restore and pack tasks. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent a844f3c commit a2fa47a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎Directory.Build.targets‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
</ItemGroup>
66

77
<ItemGroup Condition="'$(Configuration)' == 'Release'">
8-
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="6.12.1" PrivateAssets="all" Pack="false" />
98
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
109
</ItemGroup>
1110

‎tooling‎

0 commit comments

Comments
 (0)