Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<PropertyGroup>
<IsPackable Condition="$(TargetFramework.Contains('netstandard'))">false</IsPackable>
Comment thread
mattleibow marked this conversation as resolved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[major] Build & MSBuild — This disables packing for every netstandard inner build, including netstandard-only packable tooling projects such as src/Controls/src/Build.Tasks/Controls.Build.Tasks.csproj and src/SingleProject/Resizetizer/src/Resizetizer.csproj. Because those packages only target netstandard2.0, setting IsPackable=false here prevents the packages from being produced at all. Please scope the suppression to multi-target product packages/removing netstandard pack frameworks instead of globally disabling all netstandard pack builds.

</PropertyGroup>

<ItemGroup>
<!-- Upgrade xunit's transitive NETStandard.Library dependency to avoid .NET Standard 1.x dependencies. -->
<!-- <PackageReference Include="NETStandard.Library"
Expand Down
Loading