dotnet / dotnet/aspnetcore

Remove need for NuGet.exe download

Open
#23,792 0 comments 0 reactions 0 assignees View on GitHub
area-infrastructure severity-nice-to-have
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

As discussed in https://github.com/dotnet/aspnetcore/pull/23786#discussion_r451864623, we have an opportunity to remove use of NuGet.exe when wrapping our shared framework and targeting packs into `*.nupkg` files. Separate `*.csproj` projects that depend only on the SharedFramework.wixproj or TargetingPack.wixproj could work like other C# projects with custom `*.nuspec` files. It would mean two more projects and four more project invocations (one for each Windows `$(Platform)` per project) but removes a download.

Note that since the new C# projects would depend only on WiX projects, they'd need to run in desktop `msbuild`. Complicating things with a switch back to `dotnet msbuild` and discovery of the `*.msi` files et cetera doesn't seem worthwhile. That is, let's do this as long as it's a simplification.

(Putting this on the aspnet-build project and not the DoI one because this infrastructure directly affects few devs.)

/cc @dotnet/aspnet-build

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.