-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
51 lines (41 loc) · 1.87 KB
/
Directory.Build.props
File metadata and controls
51 lines (41 loc) · 1.87 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
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<DebugType>embedded</DebugType>
<!-- Code analysis settings -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<RepositoryReadmeFileName>README.md</RepositoryReadmeFileName>
<RepositoryReadmeFilePath>$(MSBuildThisFileDirectory)$(RepositoryReadmeFileName)</RepositoryReadmeFilePath>
</PropertyGroup>
<!-- NuGet package metadata and versioning -->
<PropertyGroup>
<Authors>ManagedCode</Authors>
<Company>ManagedCode</Company>
<RepositoryType>GitHub</RepositoryType>
<RepositoryUrl>https://github.com/managedcode/CodexSharpSDK</RepositoryUrl>
<PackageProjectUrl>https://github.com/managedcode/CodexSharpSDK</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<EnablePackageValidation>true</EnablePackageValidation>
<Version>1.0.1</Version>
<PackageVersion>$(Version)</PackageVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(IsPackable)' != 'false'">
<PackageReadmeFile>$(RepositoryReadmeFileName)</PackageReadmeFile>
</PropertyGroup>
<ItemGroup Condition="'$(IsPackable)' != 'false'">
<None Include="$(RepositoryReadmeFilePath)" Pack="true" PackagePath="/" Visible="false" />
</ItemGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true' or '$(CI)' == 'true' or '$(TF_BUILD)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>