-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
27 lines (27 loc) · 1.29 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
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Funcky.Analyzers" PrivateAssets="all" />
<PackageReference Include="Funcky.DiscriminatedUnion" PrivateAssets="all" />
<PackageReference Include="Messerli.CodeStyle" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup Label="Common NuGet Metadata">
<Authors>Messerli Informatik AG</Authors>
<Copyright>© Messerli Informatik AG. All rights reserved.</Copyright>
</PropertyGroup>
<PropertyGroup>
<!-- Packing projects should be opt-in. We don't want to accidentally publish internal projects. -->
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectExtension) == '.msbuildproj'">
<!-- This suppresses a build error that only happens in Visual Studio. See https://github.com/dotnet/sdk/issues/3329 -->
<GenerateErrorForMissingTargetingPacks>false</GenerateErrorForMissingTargetingPacks>
</PropertyGroup>
</Project>