Skip to content

Commit 62aaf36

Browse files
committed
Hook up StyleCop.Analyzers.CodeGeneration
1 parent b8aa3b6 commit 62aaf36

6 files changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
2+
// Licensed under the MIT License. See LICENSE in the project root for license information.
3+
4+
using System;
5+
using System.Runtime.InteropServices;
6+
7+
// General Information about an assembly is controlled through the following
8+
// set of attributes. Change these attribute values to modify the information
9+
// associated with an assembly.
10+
[assembly: CLSCompliant(false)]
11+
12+
// Setting ComVisible to false makes the types in this assembly not visible
13+
// to COM components. If you need to access a type in this assembly from
14+
// COM, set the ComVisible attribute to true on that type.
15+
[assembly: ComVisible(false)]

StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/PublicAPI.Shipped.txt

Whitespace-only changes.

StyleCop.Analyzers/StyleCop.Analyzers.CodeGeneration/PublicAPI.Unshipped.txt

Whitespace-only changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project Sdk="Microsoft.NET.Sdk">
3+
4+
<PropertyGroup>
5+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
6+
</PropertyGroup>
7+
8+
<PropertyGroup>
9+
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.ruleset</CodeAnalysisRuleSet>
10+
</PropertyGroup>
11+
12+
<PropertyGroup>
13+
<SignAssembly>true</SignAssembly>
14+
<AssemblyOriginatorKeyFile>..\..\build\keys\StyleCopAnalyzers.snk</AssemblyOriginatorKeyFile>
15+
</PropertyGroup>
16+
17+
<ItemGroup>
18+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0-5.final" />
19+
</ItemGroup>
20+
21+
</Project>

StyleCop.Analyzers/StyleCop.Analyzers/StyleCop.Analyzers.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@
2727
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="1.2.1" />
2828
</ItemGroup>
2929

30+
<ItemGroup>
31+
<ProjectReference
32+
Include="..\StyleCop.Analyzers.CodeGeneration\StyleCop.Analyzers.CodeGeneration.csproj"
33+
SetTargetFramework="TargetFramework=netstandard2.0"
34+
OutputItemType="Analyzer"
35+
ReferenceOutputAssembly="false" />
36+
</ItemGroup>
37+
3038
</Project>

StyleCopAnalyzers.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.Test.CSh
264264
EndProject
265265
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.Test.CSharp9", "StyleCop.Analyzers\StyleCop.Analyzers.Test.CSharp9\StyleCop.Analyzers.Test.CSharp9.csproj", "{AE37F270-3E2E-429E-A758-09FEBF11D57C}"
266266
EndProject
267+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StyleCop.Analyzers.CodeGeneration", "StyleCop.Analyzers\StyleCop.Analyzers.CodeGeneration\StyleCop.Analyzers.CodeGeneration.csproj", "{3A5631C1-A338-412F-9F5B-ED55DE48853F}"
268+
EndProject
267269
Global
268270
GlobalSection(SolutionConfigurationPlatforms) = preSolution
269271
Debug|Any CPU = Debug|Any CPU
@@ -306,6 +308,10 @@ Global
306308
{AE37F270-3E2E-429E-A758-09FEBF11D57C}.Debug|Any CPU.Build.0 = Debug|Any CPU
307309
{AE37F270-3E2E-429E-A758-09FEBF11D57C}.Release|Any CPU.ActiveCfg = Release|Any CPU
308310
{AE37F270-3E2E-429E-A758-09FEBF11D57C}.Release|Any CPU.Build.0 = Release|Any CPU
311+
{3A5631C1-A338-412F-9F5B-ED55DE48853F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
312+
{3A5631C1-A338-412F-9F5B-ED55DE48853F}.Debug|Any CPU.Build.0 = Debug|Any CPU
313+
{3A5631C1-A338-412F-9F5B-ED55DE48853F}.Release|Any CPU.ActiveCfg = Release|Any CPU
314+
{3A5631C1-A338-412F-9F5B-ED55DE48853F}.Release|Any CPU.Build.0 = Release|Any CPU
309315
EndGlobalSection
310316
GlobalSection(SolutionProperties) = preSolution
311317
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)