-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
76 lines (62 loc) · 2.89 KB
/
Copy pathDirectory.Build.props
File metadata and controls
76 lines (62 loc) · 2.89 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
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
67
68
69
70
71
72
73
74
75
76
<Project>
<PropertyGroup>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
<DebugType>portable</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
<ConsoleLoggerFormat>Detailed</ConsoleLoggerFormat>
<NoWarn>$(NoWarn);CA1416</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.*" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<Version>$(GitVersion_NuGetVersionV2)</Version>
<AssemblyVersion>$(GitVersion_AssemblyVersion)</AssemblyVersion>
<FileVersion>$(GitVersion_FileVersion)</FileVersion>
<InformationalVersion>$(GitVersion_InformationalVersion)</InformationalVersion>
</PropertyGroup>
<PropertyGroup>
<IsPackable Condition="'$(IsPackable)' == '' and '$(OutputType)' == 'Library'">true</IsPackable>
<Authors>Jason B</Authors>
<Company>Jason B</Company>
<Product>$(MSBuildProjectName)</Product>
<PackageId>$(MSBuildProjectName)</PackageId>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/your-org/your-monorepo</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReadmeFile>README.md</PackageReadmeFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.*" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests')) or $(IsTestProject) == 'true'">
<IsPackable>false</IsPackable>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(OutputType)' != 'Library'">
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory).editorconfig" Condition="Exists('$(MSBuildThisFileDirectory).editorconfig')" />
</ItemGroup>
<PropertyGroup>
<PathMap>$(MSBuildProjectDirectory)=/src/$(MSBuildProjectName)</PathMap>
</PropertyGroup>
</Project>