-
Notifications
You must be signed in to change notification settings - Fork 3
/
Directory.Build.props
36 lines (30 loc) · 1.73 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
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Authors>NikolayP</Authors>
<PackageProjectUrl>https://github.com/DevTeam/Immutype/</PackageProjectUrl>
<PackageIcon>common\icon.png</PackageIcon>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/DevTeam/Immutype.git</RepositoryUrl>
<Copyright>Copyright (C) 2022 Nikolay Pianikov</Copyright>
<AnalyzerRoslynVersion Condition="'$(AnalyzerRoslynVersion)'==''">4.0</AnalyzerRoslynVersion>
<AnalyzerRoslynPackageVersion Condition="'$(AnalyzerRoslynPackageVersion)'==''">4.0.1</AnalyzerRoslynPackageVersion>
<!--<AnalyzerRoslynVersion Condition="'$(AnalyzerRoslynVersion)'==''">3.8</AnalyzerRoslynVersion>
<AnalyzerRoslynPackageVersion Condition="'$(AnalyzerRoslynPackageVersion)'==''">3.8.0</AnalyzerRoslynPackageVersion>-->
<DefineConstants Condition="'$(AnalyzerRoslynVersion)'=='4.0'">$(DefineConstants);ROSLYN40</DefineConstants>
<DefineConstants Condition="'$(AnalyzerRoslynVersion)'=='3.8'">$(DefineConstants);ROSLYN38</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Include="../Docs/Images/icon.png">
<Pack>true</Pack>
<PackagePath>common</PackagePath>
</None>
</ItemGroup>
<Target Name="Info" BeforeTargets="Build">
<Message Text="AnalyzerRoslynVersion = $(AnalyzerRoslynVersion)" Importance="high"/>
<Message Text="AnalyzerRoslynPackageVersion = $(AnalyzerRoslynPackageVersion)" Importance="high"/>
</Target>
</Project>