Move Windows Compat pack to NuGet pack task (#56686)
authorViktor Hofer <viktor.hofer@microsoft.com>
Tue, 3 Aug 2021 08:46:24 +0000 (10:46 +0200)
committerGitHub <noreply@github.com>
Tue, 3 Aug 2021 08:46:24 +0000 (10:46 +0200)
commit7f931b13e3320c1a0531f0a997f143e7609f4e64
tree8636537e558b5042d71395326cf876ce71b0fc00
parent5b4fbd4230f02e24047aec55034343094aeb420a
Move Windows Compat pack to NuGet pack task (#56686)

* Move Windows Compat pack to NuGet pack task

This is a straight port from pkgproj to csproj and also enables building
the compat pack together with its dependencies.

As usual, if the compat pack alone should be built (i.e. for inner loop
tests), the `--no-dependencies` flag should be used,
i.e. `dotnet build --no-dependencies` or `dotnet pack --no-build`.

* Fix traversal builds and don't overbuild packages

* Update libraries-packages.proj
src/libraries/Microsoft.Extensions.HostFactoryResolver/src/Microsoft.Extensions.HostFactoryResolver.Sources.csproj
src/libraries/Microsoft.NETCore.Platforms/src/Microsoft.NETCore.Platforms.csproj
src/libraries/Microsoft.Windows.Compatibility/src/Microsoft.Windows.Compatibility.csproj [new file with mode: 0644]
src/libraries/libraries-packages.proj
src/libraries/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.pkgproj [deleted file]
src/libraries/pkg/Microsoft.Windows.Compatibility/Microsoft.Windows.Compatibility.proj [deleted file]
src/libraries/pkg/baseline/packageIndex.json
src/libraries/pkg/runtime.native.System.IO.Ports/runtime.native.System.IO.Ports.proj
src/libraries/src.proj