|
1 | 1 | <Project> |
2 | 2 |
|
3 | | - <Import Project="version.props" /> |
4 | | - |
5 | 3 | <PropertyGroup> |
6 | | - <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> |
7 | | - |
8 | 4 | <Authors>Nate McMaster</Authors> |
9 | 5 | <Product>CommandLineUtils</Product> |
10 | 6 | <Copyright>Copyright © Nate McMaster</Copyright> |
11 | 7 | <NeutralLanguage>en-US</NeutralLanguage> |
12 | | - <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> |
13 | 8 | <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
14 | 9 | <PackageProjectUrl>https://github.com/natemcmaster/CommandLineUtils</PackageProjectUrl> |
15 | 10 | <RepositoryUrl>https://github.com/natemcmaster/CommandLineUtils.git</RepositoryUrl> |
|
24 | 19 | <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage> |
25 | 20 | <WarningsNotAsErrors>$(WarningsNotAsErrors);1591</WarningsNotAsErrors> |
26 | 21 | <LangVersion>8.0</LangVersion> |
27 | | - <Nullable>enable</Nullable> |
28 | | - <!-- Some previews of .NET Core 3 don't have the rename yet --> |
29 | | - <NullableContextOptions>enable</NullableContextOptions> |
| 22 | + <Nullable>annotations</Nullable> |
30 | 23 | <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)src\StrongName.snk</AssemblyOriginatorKeyFile> |
31 | 24 | <SignAssembly>true</SignAssembly> |
32 | 25 | <AzureKeyVaultUrl>https://nmcmaster.vault.azure.net</AzureKeyVaultUrl> |
|
40 | 33 | <BaseOutputPath>$(MSBuildThisFileDirectory).build\bin\$(MSBuildProjectName)\</BaseOutputPath> |
41 | 34 | </PropertyGroup> |
42 | 35 |
|
| 36 | + <PropertyGroup> |
| 37 | + <VersionPrefix>2.4.0</VersionPrefix> |
| 38 | + <VersionSuffix>rc</VersionSuffix> |
| 39 | + <IncludePreReleaseLabelInPackageVersion Condition="'$(IsStableBuild)' != 'true'">true</IncludePreReleaseLabelInPackageVersion> |
| 40 | + <BuildNumber Condition=" '$(BuildNumber)' == '' ">$(BUILD_NUMBER)</BuildNumber> |
| 41 | + <BuildNumber Condition=" '$(BuildNumber)' == '' ">0</BuildNumber> |
| 42 | + <VersionSuffix Condition=" '$(VersionSuffix)' != '' ">$(VersionSuffix).$(BuildNumber)</VersionSuffix> |
| 43 | + <RepositoryCommit Condition="'$(RepositoryCommit)' == ''">$(BUILD_SOURCEVERSION)</RepositoryCommit> |
| 44 | + <PackageVersion>$(VersionPrefix)</PackageVersion> |
| 45 | + <PackageVersion Condition="'$(IncludePreReleaseLabelInPackageVersion)' == 'true'">$(PackageVersion)-$(VersionSuffix)</PackageVersion> |
| 46 | + <InformationalVersion Condition="'$(RepositoryCommit)' != ''">$(PackageVersion)+$(RepositoryCommit)</InformationalVersion> |
| 47 | + </PropertyGroup> |
| 48 | + |
43 | 49 | <ItemGroup> |
44 | 50 | <!-- For x-plat development. Workaround for https://github.com/dotnet/sdk/issues/335 --> |
45 | 51 | <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2" PrivateAssets="all" /> |
|
0 commit comments