-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
65 lines (57 loc) · 2.88 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
<Project>
<PropertyGroup Label="common build settings">
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<PlatformTarget>AnyCPU</PlatformTarget>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageOutputPath>./nupkg</PackageOutputPath>
<IncludeBuildOutput>true</IncludeBuildOutput>
</PropertyGroup>
<PropertyGroup Label="publishing settings">
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<EmbedAllSources>true</EmbedAllSources>
<DebugType>embedded</DebugType>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>false</IncludeSource>
<Deterministic>true</Deterministic>
<SymbolPackageFormat>symbols.nupkg</SymbolPackageFormat>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<RepositoryUrl>https://github.com/KageKirin/GCPRefreshUpmToken</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<EnablePackageValidation>true</EnablePackageValidation>
<EnableSourceLink>true</EnableSourceLink>
</PropertyGroup>
<PropertyGroup Label="common build metadata">
<PackageProjectUrl>https://github.com/KageKirin/GCPRefreshUpmToken</PackageProjectUrl>
<Copyright>Copyright © $(Owners) $([System.DateTime]::Now.Year)</Copyright>
<Authors>Chris 'KageKirin' Helmich</Authors>
<Owners>$(Authors)</Owners>
<Company>KageKirin</Company>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>CHANGELOG.md</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<ItemGroup Label="packaged files">
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)LICENSE" Pack="true" PackagePath="\" />
<None Include="$(MSBuildThisFileDirectory)CHANGELOG.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup Label="package dependencies">
<!-- enable reproducible builds -->
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1" PrivateAssets="All" />
<!-- enable source link -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
</ItemGroup>
<ItemGroup Label="source link settings">
<SourceLinkGitHubHost Include="github.com" ContentUrl="https://raw.github.com" />
</ItemGroup>
</Project>