-
-
Notifications
You must be signed in to change notification settings - Fork 65
/
Directory.Build.props
41 lines (34 loc) · 1.92 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
<Project>
<PropertyGroup>
<Description>A simple command-line HTTP server.</Description>
<Authors>Nate McMaster</Authors>
<Product>dotnet-serve</Product>
<Copyright>Copyright © Nate McMaster</Copyright>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/natemcmaster/dotnet-serve</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/natemcmaster/dotnet-serve</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IsPackable>false</IsPackable>
<LangVersion>10.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateFullPaths Condition="'$(TERM_PROGRAM)' == 'vscode'">true</GenerateFullPaths>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory).build\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<BaseOutputPath>$(MSBuildThisFileDirectory).build\bin\$(MSBuildProjectName)</BaseOutputPath>
</PropertyGroup>
<PropertyGroup>
<BuildNumber Condition=" '$(BuildNumber)' == '' ">$([MSBuild]::ValueOrDefault($(GITHUB_RUN_NUMBER), 0))</BuildNumber>
<VersionPrefix>1.10.$(BuildNumber)</VersionPrefix>
<SourceRevisionId Condition="'$(SourceRevisionId)' == ''">$(GITHUB_SHA)</SourceRevisionId>
<PackageDescription>$(Description)</PackageDescription>
<PackageDescription Condition="'$(SourceRevisionId)' != ''">$(PackageDescription)
This package was build from source code at $(RepositoryUrl)/tree/$(SourceRevisionId)
</PackageDescription>
</PropertyGroup>
<Import Project="$(MSBuildProjectDirectory)/releasenotes.props"
Condition="Exists('$(MSBuildProjectDirectory)/releasenotes.props')" />
</Project>