-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
27 lines (24 loc) · 1.64 KB
/
Directory.Build.props
File metadata and controls
27 lines (24 loc) · 1.64 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
27
<Project>
<PropertyGroup>
<Title>FsAutoComplete</Title>
<Product>FsAutoComplete</Product>
<PackageLicenseExpression Condition=" '$(PackAsTool)' != 'true' ">Apache-2.0</PackageLicenseExpression>
<NoWarn>$(NoWarn);3186,0042</NoWarn><!-- circumvent an error with the fake dependencymanager for
paket: https://github.com/dotnet/fsharp/issues/8678 -->
<NoWarn>$(NoWarn);NU1901;NU1902;NU1903;NU1904</NoWarn><!-- NU1901-NU1904 - package vulnerability detected (low, moderate, high, critical) -->
<NoWarn>$(NoWarn);57</NoWarn> <!-- Enable experimental compiler features -->
<WarnOn Condition="'$(Configuration)' != 'Debug'">$(WarnOn);1182</WarnOn> <!-- Unused
variables,https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/compiler-options#opt-in-warnings -->
<NoWarn>$(NoWarn);FS0044</NoWarn> <!-- Ignore deprecations -->
<NoWarn>$(NoWarn);FS3397</NoWarn> <!-- This expression uses unit for an obj-typed argument. This will lead to passing null at runtime -->
<NoWarn>$(NoWarn);NU1510</NoWarn> <!-- PackageReference will not be pruned. Consider removing this package from your dependencies, as it is likely unnecessary -->
<WarnOn>$(WarnOn);3390</WarnOn><!-- Malformed XML doc comments -->
<!-- Package Reference with no usable assets -->
<NoWarn>$(NoWarn);NU1701</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ChangelogFile>$(MSBuildThisFileDirectory)CHANGELOG.md</ChangelogFile>
<!-- Only the tool package is packable -->
<IsPackable>false</IsPackable>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
</PropertyGroup>
</Project>