* Update to dotnet 9 and update nuget packages * Update umbraco code version * Update Directory.Build.props Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> * Include preview version in pipeline * update template projects * update global json with specific version * Update version.json to v15 * Rename TrimStart and TrimEnd to string specific * Rename to Exact * Update global.json Co-authored-by: Ronald Barendse <ronald@barend.se> * Remove includePreviewVersion * Rename to trim exact --------- Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> Co-authored-by: Ronald Barendse <ronald@barend.se>
57 lines
2.5 KiB
XML
57 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project>
|
|
<PropertyGroup>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<Company>Umbraco HQ</Company>
|
|
<Authors>Umbraco</Authors>
|
|
<Copyright>Copyright © Umbraco $([System.DateTime]::Today.ToString('yyyy'))</Copyright>
|
|
<Product>Umbraco CMS</Product>
|
|
<PackageProjectUrl>https://umbraco.com/</PackageProjectUrl>
|
|
<PackageIconUrl>https://umbraco.com/dist/nuget/logo-small.png</PackageIconUrl>
|
|
<PackageIcon>icon.png</PackageIcon>
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
<PackageTags>umbraco</PackageTags>
|
|
<NeutralLanguage>en-US</NeutralLanguage>
|
|
<Nullable>enable</Nullable>
|
|
<WarningsAsErrors>nullable</WarningsAsErrors>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
|
|
</PropertyGroup>
|
|
|
|
<!-- SourceLink -->
|
|
<PropertyGroup>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<!-- Package Validation -->
|
|
<PropertyGroup>
|
|
<GenerateCompatibilitySuppressionFile>true</GenerateCompatibilitySuppressionFile>
|
|
<EnablePackageValidation>true</EnablePackageValidation>
|
|
<PackageValidationBaselineVersion>14.0.0</PackageValidationBaselineVersion>
|
|
<EnableStrictModeForCompatibleFrameworksInPackage>true</EnableStrictModeForCompatibleFrameworksInPackage>
|
|
<EnableStrictModeForCompatibleTfms>true</EnableStrictModeForCompatibleTfms>
|
|
</PropertyGroup>
|
|
|
|
<!-- Calculate version only once for the whole repository -->
|
|
<PropertyGroup>
|
|
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory>
|
|
</PropertyGroup>
|
|
|
|
<!-- Include icon in generated NuGet packages -->
|
|
<ItemGroup>
|
|
<Content Include="$(MSBuildThisFileDirectory)icon.png" Pack="true" PackagePath="" Visible="false" />
|
|
</ItemGroup>
|
|
|
|
<!-- Use version range on project references (to limit on major version in generated packages) -->
|
|
<Target Name="_GetProjectReferenceVersionRanges" AfterTargets="_GetProjectReferenceVersions">
|
|
<ItemGroup>
|
|
<_ProjectReferencesWithVersions Condition="'%(ProjectVersion)' != ''">
|
|
<ProjectVersion>[%(ProjectVersion), $([MSBuild]::Add($([System.Text.RegularExpressions.Regex]::Match('%(ProjectVersion)', '^\d+').Value), 1)))</ProjectVersion>
|
|
</_ProjectReferencesWithVersions>
|
|
</ItemGroup>
|
|
</Target>
|
|
</Project>
|