You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PackageReference functionality has 2 targets, restore and pack, which are deliver by 2 separate packages/targets files created by NuGet.Build.Tasks and NuGet.Build.Tasks.Pack and
We have 2 types of PackageReference functionality, SDK projects and classic csproj projects.
For SDK projects, they're both available by default, although they're imported from 2 different places.
For legacy projects, the restore target is available , but the pack target is not. It requires you to add a PR to NuGet.Build.Tasks.Pack.
Another feature of NuGet.Build.Tasks.Pack is that it allows you to overwrite the default pack targets, allowing for faster onboarding for pack fixes.
Beyond the UX, the issue with pack and restore being separate is that pack is ilmerged, so we're effectively shipping duplicates of most assemblies.
We should decide whether we want to preserve the bootstrapping ability of NuGet.Build.Tasks(.Pack) or if it's sufficient to just make it available in all relevant scenarios.
Final consideration is that making the pack targets available for all legacy projects could cause a different behavior when people run the "pack" target, so we'd need to consider whether we condition the import for legacy projects on something.
The text was updated successfully, but these errors were encountered:
The PackageReference functionality has 2 targets, restore and pack, which are deliver by 2 separate packages/targets files created by NuGet.Build.Tasks and NuGet.Build.Tasks.Pack and
We have 2 types of PackageReference functionality, SDK projects and classic csproj projects.
For SDK projects, they're both available by default, although they're imported from 2 different places.
For legacy projects, the restore target is available , but the pack target is not. It requires you to add a PR to NuGet.Build.Tasks.Pack.
Another feature of NuGet.Build.Tasks.Pack is that it allows you to overwrite the default pack targets, allowing for faster onboarding for pack fixes.
Beyond the UX, the issue with pack and restore being separate is that pack is ilmerged, so we're effectively shipping duplicates of most assemblies.
We should decide whether we want to preserve the bootstrapping ability of NuGet.Build.Tasks(.Pack) or if it's sufficient to just make it available in all relevant scenarios.
Final consideration is that making the pack targets available for all legacy projects could cause a different behavior when people run the "pack" target, so we'd need to consider whether we condition the import for legacy projects on something.
The text was updated successfully, but these errors were encountered: