-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
66 lines (55 loc) · 3.34 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
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Sdk.props" Sdk="DotNetDev.ArcadeLight.Sdk" />
<PropertyGroup>
<!-- MSBuild Reserved and Well-Known Properties https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-reserved-and-well-known-properties -->
<!--<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts</BaseArtifactsPath>-->
<!-- Do not consider items from obj or bin folder within the project folder -->
<DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/obj/**/*</DefaultItemExcludes>
<DefaultItemExcludes>$(DefaultItemExcludes);$(MSBuildProjectDirectory)/bin/**/*</DefaultItemExcludes>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
<GenerateBindingRedirectsOutputType>false</GenerateBindingRedirectsOutputType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<UpdateAssemblyInfo>true</UpdateAssemblyInfo>
<TargetFrameworkForNETSDK>net6.0</TargetFrameworkForNETSDK>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NoWarn>$(NoWarn);NU1507</NoWarn>
<XUnitCoreSettingsFile>$(MSBuildThisFileDirectory)eng/xunit.runner.json</XUnitCoreSettingsFile>
</PropertyGroup>
<PropertyGroup Condition="$(BUILD_REASON) == ''">
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
</PropertyGroup>
<!-- https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/ -->
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
<!-- see https://docs.microsoft.com/en-us/dotnet/core/tools/csproj -->
<Company>Some Name</Company>
<MyCopyright>© $(Company).</MyCopyright>
<Copyright>$(MyCompany).</Copyright>
<Authors>Bert</Authors>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<IncludeSource>false</IncludeSource>
<!-- Optional: A URL for the project homepage or source repository.-->
<PackageProjectUrl>https://github.com/Bertk/arcade-light</PackageProjectUrl>
<!--Optional: Source Link automatically adds RepositoryUrl and RepositoryType metadata to the NuGet package-->
<RepositoryUrl>https://github.com/Bertk/arcade-light.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<!-- Optional: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
</Project>