To ensure the backwards compatibility
of the API surface of your package, it is adviced
to enable package baseline validation by defining the
<PackageValidationBaselineVersion>
node with the version
of the previous stable release.
More information can be found here.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.0.0</Version>
<EnablePackageValidation>true</EnablePackageValidation>
</PropertyGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.0.0</Version>
<EnablePackageValidation>true</EnablePackageValidation>
<PackageValidationBaselineVersion>1.0.0</PackageValidationBaselineVersion>
</PropertyGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.0.0</Version>
<EnablePackageValidation>false</EnablePackageValidation>
</PropertyGroup>
</Project>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>2.0.0</Version>
</PropertyGroup>
</Project>