forked from snoopwpf/snoopwpf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.build.props
46 lines (36 loc) · 1.82 KB
/
Directory.build.props
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<Project>
<PropertyGroup>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
<PropertyGroup>
<OutputPath>..\bin\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/Snoop.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
<AutoGenerateBindingRedirects Condition="$(DefineConstants.Contains(NETCOREAPP)) == false">true</AutoGenerateBindingRedirects>
</PropertyGroup>
<!-- Configuration for GitVersionTask -->
<PropertyGroup>
<WriteVersionInfoToBuildLog>false</WriteVersionInfoToBuildLog>
</PropertyGroup>
<!-- Build references -->
<ItemGroup>
<PackageReference Include="GitVersionTask" Version="5.2.2" PrivateAssets="All" IncludeAssets="build; native" />
</ItemGroup>
<!-- Analyzer references -->
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2019.*" privateAssets="all" includeAssets="build;compile" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" version="3.*" privateAssets="all" includeAssets="build;analyzers" />
<PackageReference Include="PropertyChangedAnalyzers" version="3.*" privateAssets="all" includeAssets="build;analyzers" />
<!--<PackageReference Include="ReflectionAnalyzers" version="0.1-dev" privateAssets="all" includeAssets="build;analyzers" />-->
<PackageReference Include="StyleCop.Analyzers" version="1.*" privateAssets="all" includeAssets="build;analyzers" />
<PackageReference Include="WpfAnalyzers" version="2.*" privateAssets="all" includeAssets="build;analyzers" />
</ItemGroup>
</Project>