tools/DurableTask.props (50 lines of code) (raw):
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Build Settings -->
<DebugType Condition="'$(Configuration)'=='Release'">pdbonly</DebugType>
<DebugSymbols>True</DebugSymbols>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>9.0</LangVersion>
<!-- See https://github.com/Azure/durabletask/issues/428 -->
<NoWarn>NU5125,NU5048</NoWarn>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<!-- SourceLink Settings-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<IncludeSymbols>false</IncludeSymbols>
</PropertyGroup>
<!-- SourceLink Dependency for GitHub-->
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>
<!-- Sign assemblies if the snk file is present -->
<PropertyGroup Condition="Exists('$(MSBuildProjectDirectory)\..\..\tools\sign.snk') And $(Configuration) == 'Release'">
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildProjectDirectory)\..\..\tools\sign.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);SIGN_ASSEMBLY</DefineConstants>
</PropertyGroup>
<!-- Test Specific Settings -->
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests')) Or $(MSBuildProjectName.Contains('.Test.')) Or $(MSBuildProjectName.EndsWith('.Samples'))">
<SignAssembly>false</SignAssembly>
<RunCodeAnalysis>False</RunCodeAnalysis>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
</PropertyGroup>
<!-- Nuget Package Settings -->
<PropertyGroup>
<PackageOutputPath>..\..\build_output\packages</PackageOutputPath>
<AssemblyVersion>2.6.0</AssemblyVersion>
<FileVersion>2.6.0</FileVersion>
<Version>2.6.0</Version>
<Company>Microsoft</Company>
<Authors>Microsoft</Authors>
<Product>Durable Task Framework</Product>
<Description>This package provides a C# based durable task framework for writing long running applications.</Description>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/Azure/durabletask/</PackageProjectUrl>
<RepositoryUrl>https://github.com/Azure/durabletask/</RepositoryUrl>
<PackageIconUrl>https://github.com/Azure/durabletask/blob/master/logo.png?raw=true</PackageIconUrl>
<PackageTags>ServiceBus Azure Task Durable Orchestration Workflow Activity Reliable</PackageTags>
<NeutralLanguage>en-US</NeutralLanguage>
<IncludeSymbols>true</IncludeSymbols>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
</PropertyGroup>
<Target Name="Build">
</Target>
</Project>