feat: Enable net Analyzer
This commit is contained in:
@@ -134,6 +134,9 @@ csharp_space_between_parentheses = false
|
|||||||
csharp_space_between_square_brackets = false
|
csharp_space_between_square_brackets = false
|
||||||
space_within_single_line_array_initializer_braces = true
|
space_within_single_line_array_initializer_braces = true
|
||||||
|
|
||||||
|
#Net Analyzer
|
||||||
|
dotnet_analyzer_diagnostic.category-Performance.severity = none #error - Uncomment when all violations are fixed.
|
||||||
|
|
||||||
# Wrapping preferences
|
# Wrapping preferences
|
||||||
csharp_wrap_before_ternary_opsigns = false
|
csharp_wrap_before_ternary_opsigns = false
|
||||||
|
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ EndProject
|
|||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{F3AC8BC1-27F5-4255-9AFC-04ABFD11683A}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{F3AC8BC1-27F5-4255-9AFC-04ABFD11683A}"
|
||||||
ProjectSection(SolutionItems) = preProject
|
ProjectSection(SolutionItems) = preProject
|
||||||
build\ApiDiff.props = build\ApiDiff.props
|
build\ApiDiff.props = build\ApiDiff.props
|
||||||
|
build\AvaloniaPublicKey.props = build\AvaloniaPublicKey.props
|
||||||
build\Base.props = build\Base.props
|
build\Base.props = build\Base.props
|
||||||
build\Binding.props = build\Binding.props
|
build\Binding.props = build\Binding.props
|
||||||
build\CoreLibraries.props = build\CoreLibraries.props
|
build\CoreLibraries.props = build\CoreLibraries.props
|
||||||
@@ -102,8 +103,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Props", "Props", "{F3AC8BC1
|
|||||||
build\Microsoft.CSharp.props = build\Microsoft.CSharp.props
|
build\Microsoft.CSharp.props = build\Microsoft.CSharp.props
|
||||||
build\Microsoft.Reactive.Testing.props = build\Microsoft.Reactive.Testing.props
|
build\Microsoft.Reactive.Testing.props = build\Microsoft.Reactive.Testing.props
|
||||||
build\Moq.props = build\Moq.props
|
build\Moq.props = build\Moq.props
|
||||||
|
build\NetAnalyzers.props = build\NetAnalyzers.props
|
||||||
build\NetCore.props = build\NetCore.props
|
build\NetCore.props = build\NetCore.props
|
||||||
build\NetFX.props = build\NetFX.props
|
build\NetFX.props = build\NetFX.props
|
||||||
|
build\NullableEnable.props = build\NullableEnable.props
|
||||||
build\ReactiveUI.props = build\ReactiveUI.props
|
build\ReactiveUI.props = build\ReactiveUI.props
|
||||||
build\ReferenceCoreLibraries.props = build\ReferenceCoreLibraries.props
|
build\ReferenceCoreLibraries.props = build\ReferenceCoreLibraries.props
|
||||||
build\Rx.props = build\Rx.props
|
build\Rx.props = build\Rx.props
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
<Import Project="..\Directory.Build.props" />
|
<Import Project="..\Directory.Build.props" />
|
||||||
<Import Project="..\build\SharedVersion.props" />
|
<Import Project="..\build\SharedVersion.props" />
|
||||||
<Import Project="..\build\SourceLink.props" Condition="'$(DisableSourceLink)' == ''" />
|
<Import Project="..\build\SourceLink.props" Condition="'$(DisableSourceLink)' == ''" />
|
||||||
|
<Import Project="..\build\NetAnalyzers.props"/>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="$(MSBuildThisFileDirectory)\Shared\ModuleInitializer.cs" >
|
<Compile Include="$(MSBuildThisFileDirectory)\Shared\ModuleInitializer.cs" >
|
||||||
<Link>Shared\_ModuleInitializer.cs</Link>
|
<Link>Shared\_ModuleInitializer.cs</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user