File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!-- https://learn.microsoft.com/dotnet/fundamentals/package-validation/diagnostic-ids -->
3+ <Suppressions xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
4+ <Suppression >
5+ <DiagnosticId >PKV006</DiagnosticId >
6+ <Target >.NETFramework,Version=v4.0</Target >
7+ </Suppression >
8+ <Suppression >
9+ <DiagnosticId >PKV006</DiagnosticId >
10+ <Target >.NETStandard,Version=v1.0</Target >
11+ </Suppression >
12+ <Suppression >
13+ <DiagnosticId >PKV006</DiagnosticId >
14+ <Target >.NETStandard,Version=v1.3</Target >
15+ </Suppression >
16+ </Suppressions >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
44 <TargetFrameworks >netstandard2.0;net6.0;net8.0</TargetFrameworks >
@@ -59,7 +59,6 @@ Features:
5959 </PropertyGroup >
6060
6161 <PropertyGroup >
62-
6362 <PackageTags >charset;detection;unicode;ascii;netstandard;chardet</PackageTags >
6463 <PackageReleaseNotes >
6564- See https://github.com/CharsetDetector/UTF-unknown/releases
@@ -75,6 +74,13 @@ Features:
7574 <AssemblyOriginatorKeyFile >UtfUnknown.snk</AssemblyOriginatorKeyFile >
7675 </PropertyGroup >
7776
77+ <PropertyGroup >
78+ <EnablePackageValidation >true</EnablePackageValidation >
79+ <PackageValidationBaselineVersion >2.0.0</PackageValidationBaselineVersion >
80+ <ApiCompatEnableRuleCannotChangeParameterName >true</ApiCompatEnableRuleCannotChangeParameterName >
81+ <GeneratePackageOnBuild Condition =" '$(CI)' != 'true' AND '$(APPVEYOR)' != 'True' AND '$(GITHUB_ACTIONS)' != 'true' " >true</GeneratePackageOnBuild >
82+ </PropertyGroup >
83+
7884 <PropertyGroup >
7985 <DocumentationFile >bin\$(Configuration)\$(TargetFramework)\UtfUnknown.xml</DocumentationFile >
8086 <NoWarn >1701;1702;1705,1570,1591</NoWarn >
You can’t perform that action at this time.
0 commit comments