2019-03-25 18:54:56 +03:00
|
|
|
<Project>
|
|
|
|
<Import Project="$(MSBuildThisFileDirectory)\Dependencies.props" />
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Target Platforms" >
|
2019-10-10 12:36:13 +03:00
|
|
|
<NetCoreVersions>netcoreapp2.1;netcoreapp3.0</NetCoreVersions>
|
|
|
|
<NetStandardVersions>netstandard2.0;netstandard2.1</NetStandardVersions>
|
2019-11-22 18:14:56 +03:00
|
|
|
<NetFrameworkVersions>net461;net472</NetFrameworkVersions> <!-- Framework version that should be targeted alongside with .net standard -->
|
2019-08-14 11:52:28 +03:00
|
|
|
<LegacyTargetFrameworks>net452;net45</LegacyTargetFrameworks> <!-- Legacy version, required by internal consumers of packages -->
|
2019-11-22 18:14:56 +03:00
|
|
|
<TargetFrameworks>$(LegacyTargetFrameworks);$(NetFrameworkVersions)</TargetFrameworks>
|
2019-10-15 17:03:21 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="Project Settings" >
|
2019-03-25 18:54:56 +03:00
|
|
|
<Platforms>AnyCPU</Platforms>
|
|
|
|
<TargetPlatform>AnyCPU</TargetPlatform>
|
2019-10-15 17:03:21 +03:00
|
|
|
<ErrorReport>prompt</ErrorReport>
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
|
|
<WarningsAsErrors />
|
|
|
|
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
|
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
2019-10-17 17:48:14 +03:00
|
|
|
<LangVersion>latest</LangVersion>
|
2019-10-10 12:36:13 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Condition Variables" >
|
2019-10-10 12:36:13 +03:00
|
|
|
<IsNetStandard>false</IsNetStandard>
|
|
|
|
<IsNetStandard Condition="$(NetStandardVersions.Contains('$(TargetFramework)'))">true</IsNetStandard>
|
|
|
|
<IsNetCore>false</IsNetCore>
|
|
|
|
<IsNetCore Condition="$(NetCoreVersions.Contains('$(TargetFramework)'))">true</IsNetCore>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Signing" Condition="'$(SignAssemblies)' == 'true'">
|
2019-03-25 18:54:56 +03:00
|
|
|
<SignAssembly>true</SignAssembly>
|
|
|
|
<DelaySign>true</DelaySign>
|
|
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\ship.snk</AssemblyOriginatorKeyFile>
|
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Build Output" >
|
2019-03-25 18:54:56 +03:00
|
|
|
<BaseOutputPath>$(MSBuildThisFileDirectory)\bin\$(MSBuildProjectName)</BaseOutputPath>
|
|
|
|
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PackageOutputPath>$(MSBuildThisFileDirectory)\nuget</PackageOutputPath>
|
|
|
|
<DocumentationFileValue>$(MSBuildThisFileDirectory)\bin\$(MSBuildProjectName)\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFileValue>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Versioning">
|
2019-03-25 18:54:56 +03:00
|
|
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
|
|
|
<!-- The release version should get updated on every new release -->
|
2019-08-21 16:40:04 +03:00
|
|
|
<Version>20.0.3</Version>
|
2019-03-25 18:54:56 +03:00
|
|
|
<PreReleaseSuffix Condition="'$(PreReleaseSuffix)' == ''">local</PreReleaseSuffix>
|
|
|
|
<PackageVersion Condition="'$(IsReleaseBuild)' == 'true'">$(Version)</PackageVersion>
|
|
|
|
<!-- Continuous integration version, which is updated on every build of the dev branch -->
|
|
|
|
<PackageVersion Condition="'$(IsReleaseBuild)' != 'true'">$(Version)-CI-$(PreReleaseSuffix)</PackageVersion>
|
2019-10-15 17:03:21 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="NuGet Properties">
|
|
|
|
<Authors>Microsoft</Authors>
|
2019-03-25 18:54:56 +03:00
|
|
|
<Company>Microsoft</Company>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
|
|
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
|
|
|
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
|
2019-03-25 18:54:56 +03:00
|
|
|
<Description>$(MSBuildProjectName)</Description>
|
2019-10-21 12:16:57 +03:00
|
|
|
<Tags>Omex</Tags>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Debug Information" >
|
2019-10-21 12:16:57 +03:00
|
|
|
<EnableSourceControlManagerQueries Condition="'$(CommitSha)' != ''">false</EnableSourceControlManagerQueries>
|
|
|
|
<RepositoryType>git</RepositoryType>
|
|
|
|
<RepositoryUrl>https://github.com/microsoft/Omex</RepositoryUrl>
|
|
|
|
<RevisionId>$(CommitSha)</RevisionId>
|
2019-03-25 18:54:56 +03:00
|
|
|
<!-- Don't need them due to source linking -->
|
|
|
|
<IncludeSource>false</IncludeSource>
|
|
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
|
|
<!-- Optional: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element) -->
|
|
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
|
|
<!-- Optional: Embed source files that are not tracked by the source control manager in the PDB -->
|
|
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
|
|
<!-- Optional: Include the PDB in the built .nupkg -->
|
|
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
2019-10-21 12:16:57 +03:00
|
|
|
<SourceRootLocation>$(MSBuildThisFileDirectory)</SourceRootLocation>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2019-05-15 15:34:14 +03:00
|
|
|
</Project>
|