eng/Directory.Build.Common.props (29 lines of code) (raw):
<Project>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- Common library and package properties -->
<PropertyGroup>
<Company>Microsoft Corporation</Company>
<Authors>Microsoft</Authors>
<Title>Azure Functions CLI</Title>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<RepositoryUrl>https://github.com/Azure/azure-functions-core-tools</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<ApplicationIcon>$(RepoRoot)AzureFunctions-CLI.ico</ApplicationIcon>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<NeutralLanguage>en-US</NeutralLanguage>
</PropertyGroup>
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> <!-- TODO:// set to true for CI builds only -->
<NoWarn>$(NoWarn);NU1507;NU1701;NU5118;SA0001</NoWarn>
</PropertyGroup>
<!-- We still need this config to set xmlHeader = false & documentation settings -->
<ItemGroup>
<AdditionalFiles Include="$(RepoRoot)stylecop.json" Link="stylecop.json" />
</ItemGroup>
</Project>