| title | NuGet Error NU1016 | |
|---|---|---|
| description | NU1016 error code | |
| author | donnie-msft | |
| ms.author | eagoodso | |
| ms.date | 01/28/2025 | |
| ms.topic | reference | |
| f1_keywords |
|
Managing packages with project.json is deprecated. Migrate to PackageReference.
Managing packages with project.json is deprecated. Migrate to PackageReference.
Migrate your project from project.json to PackageReference.
Visual Studio 2026 or later:
Your project.json project will be automatically migrated to PackageReference when you open the solution. Visual Studio will create a backup of the original files in a Backup folder in the project directory.
Visual Studio 2022:
You need to use the built-in migrator:
- Open your project.json project in Visual Studio
- In Solution Explorer, find the project's Dependencies node
- Right-click and select Migrate project.json to PackageReference...
For detailed migration guidance, see the project.json reference documentation.
For more information about package management formats, see Package references in project files.