-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathLeanCode.CodeAnalysis.csproj
More file actions
26 lines (20 loc) · 1.06 KB
/
LeanCode.CodeAnalysis.csproj
File metadata and controls
26 lines (20 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<NoStyleCop>1</NoStyleCop>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoPackageAnalysis>true</NoPackageAnalysis>
<!-- It needs to target .NETStandard, otherwise it won't work in Omnisharp. See next comment for details. -->
<!-- It also needs to be .NETStandard 2.0, because msbuild in Visual Studio does not support 2.1. -->
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="All" />
<PackageReference Include="Microsoft.Bcl.Memory" />
</ItemGroup>
<ItemGroup>
<None Include="$(OutputPath)/$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
<None Include="LeanCode.CodeAnalysis.props" Pack="true" PackagePath="build" />
<None Include="$(CodeAnalysisSettingsLocation)/LeanCode.CodeAnalysis.ruleset" Pack="true" PackagePath="build" />
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
</ItemGroup>
</Project>