Skip to content

Commit

Permalink
<EnableNETAnalyzers>True</EnableNETAnalyzers>
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLarsson committed Jan 2, 2021
1 parent 82f5bd9 commit 355bfda
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
7 changes: 6 additions & 1 deletion Gu.Wpf.DataGrid2D.Demo/Gu.Wpf.DataGrid2D.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Gu.Wpf.DataGrid2D\Gu.Wpf.DataGrid2D.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Gu.Analyzers" Version="1.8.4" PrivateAssets="all" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.8.55" PrivateAssets="all" />
<PackageReference Include="PropertyChangedAnalyzers" Version="3.2.1" PrivateAssets="all" />
<PackageReference Include="ReflectionAnalyzers" Version="0.1.22-dev" PrivateAssets="all" />
Expand Down
7 changes: 6 additions & 1 deletion Gu.Wpf.DataGrid2D.Tests/Gu.Wpf.DataGrid2D.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<UseWpf>true</UseWpf>
</PropertyGroup>

<PropertyGroup>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>

<PropertyGroup>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\\Gu.Wpf.DataGrid2D.snk</AssemblyOriginatorKeyFile>
Expand All @@ -19,7 +25,6 @@
<ItemGroup>
<PackageReference Include="Gu.Analyzers" Version="1.8.4" PrivateAssets="all" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.8.55" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.12.0" />
Expand Down
9 changes: 7 additions & 2 deletions Gu.Wpf.DataGrid2D.UiTests/Gu.Wpf.DataGrid2D.UiTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,17 @@
<TargetFramework>net48</TargetFramework>
<UseWpf>true</UseWpf>
</PropertyGroup>


<PropertyGroup>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Gu.Analyzers" Version="1.8.4" PrivateAssets="all" />
<PackageReference Include="Gu.Wpf.UiAutomation" Version="0.3.6" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.8.55" PrivateAssets="all" />
<PackageReference Include="NUnit" Version="3.12.0" />
Expand Down
7 changes: 6 additions & 1 deletion Gu.Wpf.DataGrid2D/Gu.Wpf.DataGrid2D.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<PropertyGroup>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
</PropertyGroup>

<PropertyGroup>
<Version>0.2.4</Version>
<PackageTags>xaml wpf datagrid attachedproperty</PackageTags>
Expand Down Expand Up @@ -46,7 +52,6 @@
<ItemGroup>
<PackageReference Include="Gu.Analyzers" Version="1.8.4" PrivateAssets="all" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.8" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" Version="3.3.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.8.55" PrivateAssets="all" />
Expand Down

0 comments on commit 355bfda

Please sign in to comment.