2019-03-25 18:54:56 +03:00
|
|
|
<Project>
|
2022-04-14 20:09:19 +03:00
|
|
|
<PropertyGroup>
|
2022-04-14 20:52:54 +03:00
|
|
|
<RepoRoot Condition="'$(RepoRoot)' == ''">$([System.IO.Path]::GetDirectoryName($([MSBuild]::GetPathOfFileAbove('global.json', '$(MSBuildProjectDirectory)'))))</RepoRoot>
|
2022-04-14 20:09:19 +03:00
|
|
|
</PropertyGroup>
|
2022-04-14 20:32:53 +03:00
|
|
|
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Target Platforms" >
|
2023-03-20 16:22:57 +03:00
|
|
|
<NetCoreVersions>net7.0</NetCoreVersions>
|
2020-08-21 12:15:42 +03:00
|
|
|
<NetStandardVersions>netstandard2.0</NetStandardVersions>
|
2023-03-20 16:22:57 +03:00
|
|
|
<LibraryTargetFrameworks>$(NetCoreVersions);$(NetStandardVersions)</LibraryTargetFrameworks>
|
|
|
|
<ExecutableTargetFrameworks>$(NetCoreVersions)</ExecutableTargetFrameworks>
|
2020-09-17 16:32:01 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Label="UnitTest Targets">
|
|
|
|
<NetFrameworkVersion>net472</NetFrameworkVersion>
|
2023-03-20 16:22:57 +03:00
|
|
|
<UnitTestTargetFrameworks>$(NetCoreVersions);$(NetFrameworkVersion)</UnitTestTargetFrameworks>
|
|
|
|
<UnitTestTargetFrameworks Condition="'$(OS)' != 'Windows_NT'">$(NetCoreVersions)</UnitTestTargetFrameworks>
|
2020-09-17 16:32:01 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<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>
|
2022-01-26 19:46:07 +03:00
|
|
|
<Nullable>enable</Nullable>
|
2019-10-10 12:36:13 +03:00
|
|
|
</PropertyGroup>
|
2019-10-15 17:03:21 +03:00
|
|
|
<PropertyGroup Label="Condition Variables" >
|
2020-03-13 22:36:11 +03:00
|
|
|
<IsNetStandard>$(NetStandardVersions.Contains('$(TargetFramework)'))</IsNetStandard>
|
2023-03-20 16:22:57 +03:00
|
|
|
<IsNetCore>$(NetCoreVersions.Contains('$(TargetFramework)'))</IsNetCore>
|
2020-09-17 16:32:01 +03:00
|
|
|
<IsNetFramework>false</IsNetFramework>
|
|
|
|
<IsNetFramework Condition="!$(IsNetStandard) And !$(IsNetCore)">true</IsNetFramework>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2020-04-10 15:43:29 +03:00
|
|
|
<PropertyGroup Label="Signing" >
|
2019-03-25 18:54:56 +03:00
|
|
|
<SignAssembly>true</SignAssembly>
|
2020-04-10 15:43:29 +03:00
|
|
|
<DelaySign>false</DelaySign>
|
|
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\OmexOpenSource.snk</AssemblyOriginatorKeyFile>
|
|
|
|
<StrongNameSuffix>, PublicKey=00240000048000009400000006020000002400005253413100040000010001004d77aff3ec12650e8979fb873e4b409556a1a650482e6d4dfcf9fea3c87dc334dc2f08ab4820ad3555b949a172553484f5f8fecd302db2907a5d8e3c33d394276c05e18865c5776e0c1f04bba8c4d3e4b12bc44b70e70dc076cc69611b04368d7eff2e83f5b016db366f9d572dad24f09adc6ae732802958048b69727561d1bd</StrongNameSuffix>
|
2019-03-25 18:54:56 +03:00
|
|
|
</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 -->
|
2022-09-05 13:21:17 +03:00
|
|
|
<Version>20.0.7-alpha</Version>
|
2020-07-10 14:02:08 +03:00
|
|
|
<PreReleaseSuffix Condition="'$(PreReleaseSuffix)' == ''">$([System.DateTime]::UtcNow.ToString(yyyyMMdd-HHmmss))</PreReleaseSuffix>
|
2019-03-25 18:54:56 +03:00
|
|
|
<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>
|
2021-10-01 15:50:10 +03:00
|
|
|
<!-- Maps paths injected by CallerFilePath attribute to be related and independent from repository location on hard drive -->
|
|
|
|
<PathMap>$(MSBuildThisFileDirectory)=/</PathMap>
|
2019-03-25 18:54:56 +03:00
|
|
|
</PropertyGroup>
|
2019-05-15 15:34:14 +03:00
|
|
|
</Project>
|