Skip to content

Commit 107b92e

Browse files
authored
Change log code pages formatting for problems (#3327)
1 parent 03fb863 commit 107b92e

File tree

168 files changed

+271
-296
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+271
-296
lines changed

docs/reference/errors-and-warnings/NU1001.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ f1_keywords:
1212

1313
# NuGet Error NU1001
1414

15-
<pre>The project 'Project' does not specify any target frameworks in 'ProjectFile'</pre>
15+
> The project 'Project' does not specify any target frameworks in 'ProjectFile'
1616
1717
### Issue
1818
The project doesn't contain one or more frameworks.

docs/reference/errors-and-warnings/NU1002.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ f1_keywords:
1212

1313
# NuGet Error NU1002
1414

15-
<pre>'CLEAR' cannot be used in conjunction with other values</pre>
15+
> 'CLEAR' cannot be used in conjunction with other values
1616
1717
### Issue
1818
Invalid combination of inputs along with a CLEAR keyword.

docs/reference/errors-and-warnings/NU1003.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ f1_keywords:
1212

1313
# NuGet Error NU1003
1414

15-
<pre>PackageTargetFallback and AssetTargetFallback cannot be used together. Remove PackageTargetFallback(deprecated) references from the project environment.</pre>
15+
> PackageTargetFallback and AssetTargetFallback cannot be used together. Remove PackageTargetFallback(deprecated) references from the project environment.
1616
1717
### Issue
1818
`PackageTargetFallback` and `AssetTargetFallback` provide different behavior for selecting assets and cannot be used together.

docs/reference/errors-and-warnings/NU1004.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ f1_keywords:
1313

1414
## Scenario 1
1515

16-
<pre>The project target frameworks are different than the lock file's target frameworks. Lock file target frameworks: net6.0,net5.0. Project target frameworks net6.0.
17-
The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.</pre>
16+
> The project target frameworks are different than the lock file's target frameworks. Lock file target frameworks: net6.0,net5.0. Project target frameworks net6.0.
17+
The packages lock file is inconsistent with the project dependencies so restore can't be run in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.
1818

1919
### Issue
2020

@@ -30,8 +30,8 @@ Consult the recommendations in the error message and do one of the following:
3030

3131
## Scenario 2
3232

33-
<pre>The package reference Contoso.Library version has changed from [2.0.0, ) to [1.2.3, ).The packages lock file is inconsistent with the project dependencies so restore can't be run
34-
in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.</pre>
33+
> The package reference Contoso.Library version has changed from [2.0.0, ) to [1.2.3, ).The packages lock file is inconsistent with the project dependencies so restore can't be run
34+
in locked mode. Disable the RestoreLockedMode MSBuild property or pass an explicit --force-evaluate option to run restore to update the lock file.
3535

3636
### Issue
3737

docs/reference/errors-and-warnings/NU1005.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ f1_keywords:
1313

1414
## Scenario 1
1515

16-
<pre>Invalid restore input where RestorePackagesWithLockFile property is set to false but a packages lock file exists at C:\SourceCode\ContosoProject\Contoso.Library\packages.lock.json</pre>
16+
> Invalid restore input where RestorePackagesWithLockFile property is set to false but a packages lock file exists at C:\SourceCode\ContosoProject\Contoso.Library\packages.lock.json
1717
1818
### Issue
1919

@@ -27,7 +27,7 @@ There are 2 opt-in methods the lock file functionality, by setting the RestorePa
2727

2828
## Scenario 2
2929

30-
<pre>RestoreForceEvaluate should not be used with RestoreLockedMode in the same command.</pre>
30+
> RestoreForceEvaluate should not be used with RestoreLockedMode in the same command.
3131
3232
### Issue
3333

docs/reference/errors-and-warnings/NU1006.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ f1_keywords:
1111

1212
# NuGet Error NU1006
1313

14-
<pre>NuGet.Config has an invalid package source value 'C:\PackageSource>\'. Reason: Illegal characters in path.</pre>
14+
> NuGet.Config has an invalid package source value 'C:\PackageSource>\'. Reason: Illegal characters in path.
1515
1616
### Issue
1717

docs/reference/errors-and-warnings/NU1007.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ f1_keywords:
1111

1212
# NuGet Error NU1007
1313

14-
<pre>The runtime.json specified in the project 'C:\Program Files\dotnet\sdk\X.Y.Z00\RuntimeIdentifierGraph.json
15-
' could not be parsed.</pre>
14+
> The runtime.json specified in the project 'C:\Program Files\dotnet\sdk\X.Y.Z00\RuntimeIdentifierGraph.json
15+
' could not be parsed.
1616

1717
### Issue
1818

docs/reference/errors-and-warnings/NU1008.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ f1_keywords:
1111

1212
# NuGet Error NU1008
1313

14-
<pre>Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: PackageId.</pre>
14+
> Projects that use central package version management should not define the version on the PackageReference items but on the PackageVersion items: PackageId.
1515
1616
### Issue
1717

docs/reference/errors-and-warnings/NU1009.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ f1_keywords:
1111

1212
# NuGet Error NU1009
1313

14-
<pre>The packages PackageId are implicitly referenced. You do not typically need to reference them from your project or in your central package versions management file. For more inform
15-
ation, see https://aka.ms/sdkimplicitrefs</pre>
14+
> The packages PackageId are implicitly referenced. You do not typically need to reference them from your project or in your central package versions management file. For more information, see https://aka.ms/sdkimplicitrefs
1615
1716
### Issue
1817

docs/reference/errors-and-warnings/NU1010.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ f1_keywords:
1111

1212
# NuGet Error NU1010
1313

14-
<pre>The PackageReference items PackageId do not have corresponding PackageVersion.</pre>
14+
> The PackageReference items PackageId do not have corresponding PackageVersion.
1515
1616
### Issue
1717

0 commit comments

Comments
 (0)