-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
35 lines (28 loc) · 1.62 KB
/
Directory.Build.props
File metadata and controls
35 lines (28 loc) · 1.62 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
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- .NET version to build for -->
<_TargetFramework>net8.0</_TargetFramework>
<!-- NuGet packaging info -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/modern-forms/Modern.Forms</PackageProjectUrl>
<!-- SourceLink info -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Include symbol files (*.pdb) in the built .nupkg -->
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<!-- Default to using NRT annotations and implicit usings -->
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Treat warnings as errors in Release builds (this keeps them from getting in the way
while developing locally, but ensures CI doesn't allow warnings to be committed). -->
<TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<!-- NU5104: A stable release of a package should not have a prerelease dependency. -->
<NoWarn>$(NoWarn);NU5104</NoWarn>
</PropertyGroup>
<!-- Required for Deterministic -->
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>