dotnet / dotnet/msbuild

Add support for NuGet restore / assets file reading to MSBuild

Open
#5,757 1 comment 4 reactions 0 assignees View on GitHub
For consideration needs-design Partner request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Support for NuGet PackageReference restore and build is currently spread across NuGet.targets and the .NET SDK. This prevents non .NET projects from supporting NuGet PackageReference.

We would like to make NuGet PackageReference available to all MSBuild projects. That includes the following:

- Targets required to send data to NuGet (nomination)
- Mostly works, apart from setting assets file path
- Targets required to make restore work from the command line - these already seem to be imported from common targets
- Targets required to make dependency node work
- Read data from assets file and return dependencies (now only top-level dependencies)
- Targets required to make build work
- Reading assets file, create appropriate items (ie Content) from assets file

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.