зеркало из https://github.com/microsoft/Omex.git
62 строки
3.5 KiB
XML
62 строки
3.5 KiB
XML
<Project>
|
|
<Import Project="$(MSBuildThisFileDirectory)\Dependencies.props" />
|
|
<PropertyGroup>
|
|
<NetCoreVersions>netcoreapp2.1;netcoreapp3.0</NetCoreVersions>
|
|
<NetStandardVersions>netstandard2.0;netstandard2.1</NetStandardVersions>
|
|
<NetFrameworkVersion>net461</NetFrameworkVersion> <!-- Framework version that should be targeted alongside with .net standard -->
|
|
<LegacyTargetFrameworks>net452;net45</LegacyTargetFrameworks> <!-- Legacy version, required by internal consumers of packages -->
|
|
<TargetFrameworks>$(LegacyTargetFrameworks)</TargetFrameworks>
|
|
<Platforms>AnyCPU</Platforms>
|
|
<TargetPlatform>AnyCPU</TargetPlatform>
|
|
<PackageOutputPath>$(MSBuildThisFileDirectory)\nuget</PackageOutputPath>
|
|
<DocumentationFileValue>$(MSBuildThisFileDirectory)\bin\$(MSBuildProjectName)\$(Configuration)\$(TargetFramework)\$(MSBuildProjectName).xml</DocumentationFileValue>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<IsNetStandard>false</IsNetStandard>
|
|
<IsNetStandard Condition="$(NetStandardVersions.Contains('$(TargetFramework)'))">true</IsNetStandard>
|
|
<IsNetCore>false</IsNetCore>
|
|
<IsNetCore Condition="$(NetCoreVersions.Contains('$(TargetFramework)'))">true</IsNetCore>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(SignAssemblies)' == 'true'">
|
|
<SignAssembly>true</SignAssembly>
|
|
<DelaySign>true</DelaySign>
|
|
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)\ship.snk</AssemblyOriginatorKeyFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<BaseOutputPath>$(MSBuildThisFileDirectory)\bin\$(MSBuildProjectName)</BaseOutputPath>
|
|
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
|
|
<!-- The release version should get updated on every new release -->
|
|
<Version>20.0.3</Version>
|
|
<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>
|
|
<Authors>Microsoft Omex</Authors>
|
|
<Owners>Microsoft Omex</Owners>
|
|
<Company>Microsoft</Company>
|
|
<Copyright>Copyright © Microsoft</Copyright>
|
|
<Tags>Omex</Tags>
|
|
<Description>$(MSBuildProjectName)</Description>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<WarningsAsErrors />
|
|
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
|
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
|
<!-- 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>
|
|
</PropertyGroup>
|
|
</Project>
|