File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
docs/reference/errors-and-warnings Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,16 @@ f1_keywords:
1111---
1212
1313# NuGet Error NU5015
14+
15+ > [ !WARNING]
16+ > project.json support has been removed starting with [ NuGet 7.0] ( ../../release-notes/NuGet-7.0.md ) and this error will no longer be raised.
17+
1418> project.json cannot contain multiple Target Frameworks.
1519
1620### Issue
1721
1822The project.json file passed to NuGet pack operation contains multiple target frameworks.
1923
20-
2124### Solution
2225
2326Please fix the project.json file to contain only a single target framework.
24-
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ f1_keywords:
99 - " NU5042"
1010---
1111
12- # NuGet Error NU5042
12+ # NuGet Error NU5042 (Obsolete)
13+
14+ > [ !WARNING]
15+ > project.json support has been removed starting with [ NuGet 7.0] ( ../../release-notes/NuGet-7.0.md ) and this error will no longer be raised.
1316
1417> ` project.json ` pack is disabled in the current NuGet version, and will be permanently removed in a future version.
1518> Please consider migrating 'MyProject' to ` PackageReference ` and using the pack targets.
@@ -21,4 +24,4 @@ NuGet.exe pack for project.json projects is not supported.
2124
2225### Solution
2326
24- Migrate your project to PackageReference and use the pack targets instead.
27+ [ Migrate your project to PackageReference] ( ../../archive/project-json.md#migrate-projectjson-to-packagereference ) and use the pack targets instead.
You can’t perform that action at this time.
0 commit comments