File tree Expand file tree Collapse file tree 8 files changed +8
-0
lines changed Expand file tree Collapse file tree 8 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<RuleSet Name =" Default rules for all MesserliOne projects" ToolsVersion =" 10.0" >
23 <Include Path =" Disposable\Default.ruleset" Action =" Default" />
34 <Include Path =" StyleCop\Default.ruleset" Action =" Default" />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<RuleSet Name =" Rules for IDisposable Analyzers" ToolsVersion =" 10.0" >
23 <Rules AnalyzerId =" IDisposableAnalyzers.Correctness" RuleNamespace =" IDisposableAnalyzers.Correctness" >
34 <Rule Id =" IDISP001" Action =" Error" />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
23 <PropertyGroup >
34 <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)Default.ruleset</CodeAnalysisRuleSet >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
23 <PropertyGroup >
34 <NoWarn >$(NoWarn),1591</NoWarn >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<RuleSet Name =" StyleCop rules" ToolsVersion =" 10.0" >
23 <Include Path =" DisableAll.ruleset"
34 Action =" Default" />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<RuleSet Name =" Disable all Stylecop rules" ToolsVersion =" 10.0" >
23 <Rules AnalyzerId =" StyleCop.Analyzers" RuleNamespace =" StyleCop.Analyzers" >
34 <Rule Id =" SA0001" Action =" None" />
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
12<Project xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
23 <Import Project =" $(MSBuildThisFileDirectory)..\build\$(MSBuildThisFile)" />
34</Project >
Original file line number Diff line number Diff line change 88Add the following import to your ` csproj ` or ` Directory.Build.props ` :
99
1010``` xml
11+ <?xml version =" 1.0" encoding =" utf-8" ?>
1112<Project >
1213 <ItemGroup >
1314 <PackageReference Include =" Messerli.CodeStyle" Version =" 1.0.0" PrivateAssets =" all" />
You can’t perform that action at this time.
0 commit comments