Skip to content

Commit

Permalink
modify csproj to suppress code analyzer warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed Feb 12, 2024
1 parent 4657839 commit fbec835
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ SPDX-License-Identifier: MIT
<VersionPrefix>4.0.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageValidationBaselineVersion>4.0.0</PackageValidationBaselineVersion>
<RootNamespace/> <!-- empty the root namespace so that the namespace is determined only by the directory name, for code style rule IDE0030 -->
<NoWarn>CS1591;$(NoWarn)</NoWarn> <!-- CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' -->
<Nullable>enable</Nullable>
<RootNamespace>Smdn.Text.Ondulish</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<OndulishDictionaryResourceLogicalNameForPhrases>$(RootNamespace).Dictionaries.phrases</OndulishDictionaryResourceLogicalNameForPhrases>
<OndulishDictionaryResourceLogicalNameForWords>$(RootNamespace).Dictionaries.words</OndulishDictionaryResourceLogicalNameForWords>
<OndulishDictionaryResourceLogicalNameForPhrases>$(MSBuildProjectName).phrases</OndulishDictionaryResourceLogicalNameForPhrases>
<OndulishDictionaryResourceLogicalNameForWords>$(MSBuildProjectName).words</OndulishDictionaryResourceLogicalNameForWords>
</PropertyGroup>

<PropertyGroup Label="assembly attributes">
Expand Down Expand Up @@ -42,7 +43,7 @@ SPDX-License-Identifier: MIT
<_ManifestResourceNamesFileContent><![CDATA[
// This file was automatically generated by $(MSBuildProjectFile).
// Do not edit this file by hand.
namespace $(RootNamespace)%3B
namespace Smdn.Text.Ondulish%3B
internal static class ManifestResourceNames {
public static readonly string OndulishDictionaryPhrases = "$(OndulishDictionaryResourceLogicalNameForPhrases)"%3B
public static readonly string OndulishDictionaryWords = "$(OndulishDictionaryResourceLogicalNameForWords)"%3B
Expand Down
2 changes: 2 additions & 0 deletions src/Smdn.Text.Ondulish/Smdn.Text.Ondulish.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ SPDX-License-Identifier: MIT
<VersionPrefix>4.0.2</VersionPrefix>
<VersionSuffix></VersionSuffix>
<PackageValidationBaselineVersion>4.0.0</PackageValidationBaselineVersion>
<RootNamespace/> <!-- empty the root namespace so that the namespace is determined only by the directory name, for code style rule IDE0030 -->
<NoWarn>CS1591;$(NoWarn)</NoWarn> <!-- CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member' -->
<Nullable>enable</Nullable>
<AssemblyCLSCompliant>false</AssemblyCLSCompliant>
<GenerateNupkgReadmeFileDependsOnTargets>$(GenerateNupkgReadmeFileDependsOnTargets);GenerateReadmeFileContent</GenerateNupkgReadmeFileDependsOnTargets>
Expand Down

0 comments on commit fbec835

Please sign in to comment.