Skip to content

Commit

Permalink
Remove analyzers from build
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbetros committed Apr 14, 2019
1 parent e8866e0 commit 4c9012e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 731 deletions.
16 changes: 0 additions & 16 deletions Directory.Build.targets
Expand Up @@ -4,22 +4,6 @@
<SignAssembly>True</SignAssembly>
</PropertyGroup>

<PropertyGroup>
<CodeAnalysisRuleSet Condition="'$(IsTestProject)' != 'True'">$(RepoRoot)build\IL2CPU.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(IsTestProject)' == 'True'">$(RepoRoot)build\Tests.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<RoslynAnalyzer Include="Microsoft.CodeAnalysis.Analyzers" />
<RoslynAnalyzer Include="Microsoft.CodeQuality.Analyzers" />
<RoslynAnalyzer Include="Microsoft.NetCore.Analyzers" />
<RoslynAnalyzer Include="Microsoft.NetFramework.Analyzers" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="@(RoslynAnalyzer)" PrivateAssets="All" />
</ItemGroup>

<Import Project="build\Targets\Import.targets" />

</Project>
2 changes: 0 additions & 2 deletions IL2CPU.sln
Expand Up @@ -6,9 +6,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{CA8030BE
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
Directory.Build.targets = Directory.Build.targets
build\IL2CPU.ruleset = build\IL2CPU.ruleset
build\Targets\InternalPackages.targets = build\Targets\InternalPackages.targets
build\Tests.ruleset = build\Tests.ruleset
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{4484F6A7-93BB-4F2B-936B-EC8AC046AEF9}"
Expand Down
355 changes: 0 additions & 355 deletions build/IL2CPU.ruleset

This file was deleted.

4 changes: 0 additions & 4 deletions build/Targets/PackageVersions.targets
Expand Up @@ -7,8 +7,4 @@
<PackageReference Update="NUnit3TestAdapter" Version="$(NUnit3TestAdapterVersion)" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="@(RoslynAnalyzer)" Version="$(RoslynAnalyzersVersion)" />
</ItemGroup>

</Project>

0 comments on commit 4c9012e

Please sign in to comment.