Visual Studio .NET 全框架项目在哪些版本中支持 PackageReference?
In which versions of Visual Studio do .NET full framework projects support PackageReference?
根据https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files
.NET full framework projects support PackageReference
Visual Studio 是哪个版本的?
With Visual Studio 2017 and .NET Core, we have improved the
NuGet package management experience by introducing the
PackageReference feature in MSBuild. PackageReference brings new and improved capabilities such as deep MSBuild integration, improved
performance for everyday tasks such as install and restore,
multi-targeting and more.
从 first Update (15.1) 开始,您将获得对其他类型的支持。
What about other project types that are not .NET Core? You can get a first look of what will come in the next NuGet update. Hop on to
the Visual Studio 2017 Update 1 Preview 2 bandwagon.
因此,如果您 运行 当前的 15.7.x 您已经获得支持,即使 Visual Studio 2017 仍默认使用 packages.config
。使用 15.7 VS2017 does also have a convert tool 将旧 packages.config
方式迁移到新样式:
根据https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files
.NET full framework projects support PackageReference
Visual Studio 是哪个版本的?
With Visual Studio 2017 and .NET Core, we have improved the NuGet package management experience by introducing the PackageReference feature in MSBuild. PackageReference brings new and improved capabilities such as deep MSBuild integration, improved performance for everyday tasks such as install and restore, multi-targeting and more.
从 first Update (15.1) 开始,您将获得对其他类型的支持。
What about other project types that are not .NET Core? You can get a first look of what will come in the next NuGet update. Hop on to the Visual Studio 2017 Update 1 Preview 2 bandwagon.
因此,如果您 运行 当前的 15.7.x 您已经获得支持,即使 Visual Studio 2017 仍默认使用 packages.config
。使用 15.7 VS2017 does also have a convert tool 将旧 packages.config
方式迁移到新样式: