azure-functions-dotnet-worker/build/Common.props

33 строки
1.9 KiB
XML

<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project=".\PackageInfo.props" />
<PropertyGroup>
<MajorProductVersion Condition="$(MajorProductVersion) == ''">1</MajorProductVersion>
<MinorProductVersion Condition="$(MinorProductVersion) == ''">0</MinorProductVersion>
<PatchProductVersion Condition="$(PatchProductVersion) == ''">0</PatchProductVersion>
<VersionPrefix Condition="$(VersionPrefix) == ''">$(MajorProductVersion).$(MinorProductVersion).$(PatchProductVersion)</VersionPrefix>
<!--If a preview release, this should have the label with the separator (e.g.: -preview1)-->
<VersionSuffix Condition="$(VersionSuffix) == ''"></VersionSuffix>
<IsLocalBuild Condition=" $(IsLocalBuild) == ''">True</IsLocalBuild>
<BuildNumber Condition=" $(IsLocalBuild) == 'True'">local</BuildNumber>
<Version Condition=" '$(BuildNumber)' != '' And $(Version) == ''">$(VersionPrefix)$(VersionSuffix)-$(BuildNumber)</Version>
<Version Condition=" '$(Version)' == '' ">$(VersionPrefix)$(VersionSuffix)</Version>
<AssemblyVersion Condition="$(AssemblyVersion) == ''">$(VersionPrefix).0</AssemblyVersion>
<FileVersion Condition="$(FileVersion) == ''">$(AssemblyVersion)</FileVersion>
<LangVersion>preview</LangVersion>
<Nullable Condition="$(Nullable) == ''">enable</Nullable>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)/../key.snk</AssemblyOriginatorKeyFile>
<DebugType>embedded</DebugType>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild Condition="'$(TF_BUILD)' == 'true'">true"</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
</ItemGroup>
</Project>