diff --git a/.editorconfig b/.editorconfig index 391bcc01..cceb6ce7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -81,6 +81,7 @@ dotnet_diagnostic.CA1845.severity = none # CA1845: Use span-based 'string dotnet_diagnostic.CA1846.severity = none # CA1846: Prefer 'AsSpan' over 'Substring' dotnet_diagnostic.CA1847.severity = none # CA1847: Use char literal for a single character lookup dotnet_diagnostic.CA1852.severity = suggestion # CA1852: Seal internal types +dotnet_diagnostic.CA1854.severity = suggestion # CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method dotnet_diagnostic.CA1859.severity = suggestion # CA1859: Use concrete types when possible for improved performance dotnet_diagnostic.CA1861.severity = suggestion # CA1861: Avoid constant arrays as arguments dotnet_diagnostic.CA1863.severity = none # CA1863: Use 'CompositeFormat' diff --git a/Build.proj b/Build.proj index 17a033e1..fda60715 100644 --- a/Build.proj +++ b/Build.proj @@ -108,7 +108,7 @@ Outputs="$(PackageDir)\DynamicLanguageRuntime.$(PackageVersion).zip"> + Exclude="$(StageDir)\netcoreapp3.1\*;$(StageDir)\net9.0*\*" /> diff --git a/Package/nuget/DynamicLanguageRuntime.nuspec b/Package/nuget/DynamicLanguageRuntime.nuspec index 40fbbdd2..beefbc4e 100644 --- a/Package/nuget/DynamicLanguageRuntime.nuspec +++ b/Package/nuget/DynamicLanguageRuntime.nuspec @@ -32,9 +32,9 @@ - - - + + +