Skip to content

Commit

Permalink
Add the comment for adding PKV006 suppression; update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
GangWang01 committed Jul 13, 2023
1 parent 1aa2d03 commit 35b7fa8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Build/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<Target>T:Microsoft.Build.Experimental.ProjectCache.ProjectCacheException</Target>
<IsBaselineSuppression>true</IsBaselineSuppression>
</Suppression>
<!-- For updating target framework from net 7.0 to net 8.0 in MSBuild 17.8 suppress baseline package validation error PKV006 on net 7.0 -->
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net7.0</Target>
Expand Down
1 change: 1 addition & 0 deletions src/Framework/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<DiagnosticId>PKV004</DiagnosticId>
<Target>Xamarin.XboxOne,Version=v0.0</Target>
</Suppression>
<!-- For updating target framework from net 7.0 to net 8.0 in MSBuild 17.8 suppress baseline package validation error PKV006 on net 7.0 -->
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net7.0</Target>
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ The items in this namespace are primarily base-level classes and interfaces shar
[`ITask`](https://docs.microsoft.com/dotnet/api/microsoft.build.framework.itask), and [`ILogger`](https://docs.microsoft.com/dotnet/api/microsoft.build.framework.ilogger).

### netstandard2.0 target
The `netstandard2.0` target of this build is configured only to output reference assemblies; at runtime MSBuild will be `net8.0` or `net472`. Please use the `net8.0`-targeted assemblies for .NET Core 6+ scenarios.
The `netstandard2.0` target of this build is configured only to output reference assemblies; at runtime MSBuild will be `net8.0` or `net472`. Please use the `net8.0`-targeted assemblies for .NET 8+ scenarios.

For context, see https://github.com/dotnet/msbuild/pull/6148
1 change: 1 addition & 0 deletions src/Tasks/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<DiagnosticId>PKV004</DiagnosticId>
<Target>Xamarin.XboxOne,Version=v0.0</Target>
</Suppression>
<!-- For updating target framework from net 7.0 to net 8.0 in MSBuild 17.8 suppress baseline package validation error PKV006 on net 7.0 -->
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net7.0</Target>
Expand Down
1 change: 1 addition & 0 deletions src/Utilities/CompatibilitySuppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<DiagnosticId>PKV004</DiagnosticId>
<Target>Xamarin.XboxOne,Version=v0.0</Target>
</Suppression>
<!-- For updating target framework from net 7.0 to net 8.0 in MSBuild 17.8 suppress baseline package validation error PKV006 on net 7.0 -->
<Suppression>
<DiagnosticId>PKV006</DiagnosticId>
<Target>net7.0</Target>
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ This package contains `Microsoft.Build.Utilities.Core.dll`, which defines helper
* [`Logger`](https://docs.microsoft.com/dotnet/api/microsoft.build.utilities.logger), a base class for custom logging functionality.

### netstandard2.0 target
The `netstandard2.0` target of this build is configured only to output reference assemblies; at runtime MSBuild will be `net8.0` or `net472`. Please use the `net8.0`-targeted assemblies for .NET Core 6+ scenarios.
The `netstandard2.0` target of this build is configured only to output reference assemblies; at runtime MSBuild will be `net8.0` or `net472`. Please use the `net8.0`-targeted assemblies for .NET 8+ scenarios.

For context, see https://github.com/dotnet/msbuild/pull/6148

0 comments on commit 35b7fa8

Please sign in to comment.