File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed 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" >
2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >netstandard2.0;net6.0;net8.0</TargetFrameworks >
@@ -59,7 +59,6 @@ Features:
59
59
</PropertyGroup >
60
60
61
61
<PropertyGroup >
62
-
63
62
<PackageTags >charset;detection;unicode;ascii;netstandard;chardet</PackageTags >
64
63
<PackageReleaseNotes >
65
64
- See https://github.com/CharsetDetector/UTF-unknown/releases
@@ -75,6 +74,13 @@ Features:
75
74
<AssemblyOriginatorKeyFile >UtfUnknown.snk</AssemblyOriginatorKeyFile >
76
75
</PropertyGroup >
77
76
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
+
78
84
<PropertyGroup >
79
85
<DocumentationFile >bin\$(Configuration)\$(TargetFramework)\UtfUnknown.xml</DocumentationFile >
80
86
<NoWarn >1701;1702;1705,1570,1591</NoWarn >
You can’t perform that action at this time.
0 commit comments