Update src.props to target net10.0 only

This commit is contained in:
Damian Hickey 2026-02-16 15:04:00 +01:00
parent 01a12682b6
commit 23223566cd

162
src.props
View file

@ -1,81 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<Authors>Duende Software</Authors>
<Company>Duende Software</Company>
<Copyright>Duende Software</Copyright>
<!-- TODO - This is different between foss and is/bff -->
<!-- This is what foss does -->
<!-- <DebugType>full</DebugType> -->
<!-- This is what is/bff do -->
<DebugType Condition="'$(GITHUB_ACTIONS)' == 'true'">embedded</DebugType>
<!-- TODO - we want to enable nullable everywhere eventually -->
<!-- <Nullable>enable</Nullable> -->
<LangVersion>latest</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">True</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
<NoWarn>$(NoWarn);CS1591;NU1507</NoWarn>
<IsTestProject>false</IsTestProject>
<IsPackable>true</IsPackable>
<!--NuGet-->
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- TODO - Verify that license is included in nuget packages -->
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/duendesoftware/products</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/duendesoftware/products/releases</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!--Minver-->
<BUILD_NUMBER Condition="'$(BUILD_NUMBER)' == ''">0</BUILD_NUMBER>
<MinVerBuildMetadata>build.$(BUILD_NUMBER)</MinVerBuildMetadata>
<MinVerAutoIncrement>patch</MinVerAutoIncrement>
<!--SourceLink-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<PackageReadmePath>../../README.md</PackageReadmePath>
</PropertyGroup>
<!--Release builds do more work and are stricter. This allows for faster
development: devs can be messy/experimental initially and verify their
code easily by running a build in Release mode, and we also enforce
stricter rules in CI with the Release configuration. We can also move
any slow actions to the Release configuration to speed up test runs, etc.
-->
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MinVer">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="../../../icon.png" Pack="true" Visible="false" PackagePath="" />
<None Include="$(PackageReadmePath)" Pack="true" PackagePath="" />
<None Include="../../../LICENSE" Pack="true" PackagePath="" />
</ItemGroup>
</Project>
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Authors>Duende Software</Authors>
<Company>Duende Software</Company>
<Copyright>Duende Software</Copyright>
<!-- TODO - This is different between foss and is/bff -->
<!-- This is what foss does -->
<!-- <DebugType>full</DebugType> -->
<!-- This is what is/bff do -->
<DebugType Condition="'$(GITHUB_ACTIONS)' == 'true'">embedded</DebugType>
<!-- TODO - we want to enable nullable everywhere eventually -->
<!-- <Nullable>enable</Nullable> -->
<LangVersion>latest</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">True</ContinuousIntegrationBuild>
<Deterministic>true</Deterministic>
<NoWarn>$(NoWarn);CS1591;NU1507</NoWarn>
<IsTestProject>false</IsTestProject>
<IsPackable>true</IsPackable>
<!--NuGet-->
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<!-- TODO - Verify that license is included in nuget packages -->
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>icon.png</PackageIcon>
<PackageProjectUrl>https://github.com/duendesoftware/products</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/duendesoftware/products/releases</PackageReleaseNotes>
<PackageReadmeFile>README.md</PackageReadmeFile>
<!--Minver-->
<BUILD_NUMBER Condition="'$(BUILD_NUMBER)' == ''">0</BUILD_NUMBER>
<MinVerBuildMetadata>build.$(BUILD_NUMBER)</MinVerBuildMetadata>
<MinVerAutoIncrement>patch</MinVerAutoIncrement>
<!--SourceLink-->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<PackageReadmePath>../../README.md</PackageReadmePath>
</PropertyGroup>
<!--Release builds do more work and are stricter. This allows for faster
development: devs can be messy/experimental initially and verify their
code easily by running a build in Release mode, and we also enforce
stricter rules in CI with the Release configuration. We can also move
any slow actions to the Release configuration to speed up test runs, etc.
-->
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MinVer">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="../../../icon.png" Pack="true" Visible="false" PackagePath="" />
<None Include="$(PackageReadmePath)" Pack="true" PackagePath="" />
<None Include="../../../LICENSE" Pack="true" PackagePath="" />
</ItemGroup>
</Project>