Skip to content

Commit

Permalink
nowarn ruleset
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed May 14, 2019
1 parent b5f374a commit 8b414c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Expand Up @@ -4,11 +4,16 @@
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
<RootNamespace>MagicOnion.CodeGenerator</RootNamespace>
<ToolCommandName>dotnet-moc</ToolCommandName>
<PackAsTool>true</PackAsTool>
<!--<ToolCommandName>dotnet-moc</ToolCommandName>
<PackAsTool>true</PackAsTool>-->
<AssemblyName>moc</AssemblyName>
<CodeAnalysisRuleSet>NoWarn.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<None Remove="NoWarn.ruleset" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Buildalyzer.Workspaces" Version="2.2.0" />
<PackageReference Include="MicroBatchFramework" Version="1.2.0" />
Expand All @@ -26,6 +31,10 @@
</Reference>
</ItemGroup>

<ItemGroup>
<Resource Include="NoWarn.ruleset" />
</ItemGroup>

<ItemGroup>
<None Update="Generator\CodeTemplate.tt">
<Generator>TextTemplatingFilePreprocessor</Generator>
Expand Down
6 changes: 6 additions & 0 deletions src/MagicOnion.UniversalCodeGenerator/NoWarn.ruleset
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="New Rule Set" Description=" " ToolsVersion="15.0">
<Rules AnalyzerId="Microsoft.CodeAnalysis.Analyzers" RuleNamespace="Microsoft.CodeAnalysis.Analyzers">
<Rule Id="RS1022" Action="None" />
</Rules>
</RuleSet>

0 comments on commit 8b414c5

Please sign in to comment.