-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
57 lines (46 loc) · 1.88 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
47
48
49
50
51
52
53
54
55
56
<Project>
<!--
$(MSBuildThisFileDirectory) - is a variable that points to the directory of the current project file.
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
-->
<PropertyGroup>
<PublicAssemblyProps>$(MSBuildThisFileDirectory)\PublicAssembly.props</PublicAssemblyProps>
</PropertyGroup>
<PropertyGroup>
<!--
This repository is not using Central Package Version Management, because it is still not good.
For example, "error NU1008: Projects that use central package version management should not
define the version on the PackageReference" is wrong, it should be possible to mix and match.
So, for now I'll stick to Paket.
-->
<ManagePackageVersionsCentrally>false</ManagePackageVersionsCentrally>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<IsPackable>false</IsPackable>
<OutputType>Library</OutputType>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<NoWarn>$(NoWarn);NU5125;NU5048</NoWarn>
</PropertyGroup>
<ItemGroup Condition=" '$(IsPackable)' == 'true' ">
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
</ItemGroup>
<ItemGroup>
<Using Include="System" />
<Using Include="System.Linq" />
<Using Include="System.IO" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Threading" />
<Using Include="System.Threading.Tasks" />
</ItemGroup>
<!--
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
-->
</Project>