* Add Nullable and WarningsAsErrors to Build.props * Remove Nullable from cs proj, add ImplicitUsings to build.props * Fix errors in core * Fix in JsonSchema * Fix infrastructure * Add non-ambiguous using * Fix Web/Lucene * Fix backoffice * Fix up new build errors from merge Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk>
46 lines
2.0 KiB
XML
46 lines
2.0 KiB
XML
<Project>
|
|
<!-- Enable multi-level merging -->
|
|
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
|
|
|
|
<PropertyGroup>
|
|
<Version>10.0.0</Version>
|
|
<AssemblyVersion>10.0.0</AssemblyVersion>
|
|
<InformationalVersion>10.0.0-rc</InformationalVersion>
|
|
<FileVersion>10.0.0</FileVersion>
|
|
<LangVersion Condition="'$(LangVersion)' == ''">10.0</LangVersion>
|
|
<NeutralLanguage>en-US</NeutralLanguage>
|
|
<Company>Umbraco CMS</Company>
|
|
<Copyright>Copyright © Umbraco 2021</Copyright>
|
|
<Authors>Umbraco HQ</Authors>
|
|
<PackageProjectUrl>https://umbraco.com/</PackageProjectUrl>
|
|
<PackageIconUrl>https://umbraco.com/dist/nuget/logo-small.png</PackageIconUrl>
|
|
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
|
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
|
<PackageTags>umbraco</PackageTags>
|
|
<RepositoryType>git</RepositoryType>
|
|
<RepositoryUrl>https://github.com/umbraco/umbraco-cms</RepositoryUrl>
|
|
<Nullable>enable</Nullable>
|
|
<WarningsAsErrors>Nullable</WarningsAsErrors>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<!-- SourceLink: Publish the repository URL in the built .nupkg (in the NuSpec <Repository> element)-->
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
|
|
<!-- SourceLink: Embed source files that are not tracked by the source control manager in the PDB -->
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
|
|
<!-- SourceLink: Build symbol package (.snupkg) to distribute the PDB containing Source Link -->
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<!-- SourceLink: Deterministic -->
|
|
<!-- https://github.com/clairernovotny/DeterministicBuilds -->
|
|
<!-- Only for Azure Pipelines CI Build -->
|
|
<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
|
|
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
|
</PropertyGroup>
|
|
</Project>
|