Skip to content

Commit 55663e5

Browse files
committed
Multi-targeting for v9, v10, and v11
1 parent 2d095eb commit 55663e5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/Our.Umbraco.SuperValueConverters/Our.Umbraco.SuperValueConverters.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>net5.0</TargetFramework>
3+
<TargetFrameworks>net5.0;net6.0;net7.0</TargetFrameworks>
44
<Version Condition="'$(BUILD_BUILDNUMBER)' == ''">1.0.0.0</Version>
55
<Version Condition="'$(BUILD_BUILDNUMBER)' != ''">$(BUILD_BUILDNUMBER)</Version>
66
<Description>A collection of powerful property value converters for cleaner code in Umbraco</Description>
@@ -20,7 +20,13 @@
2020
<None Include="..\..\README.md" Pack="true" PackagePath="docs" />
2121
<None Include="..\..\docs\img\logo.png" Pack="true" PackagePath="docs" />
2222
</ItemGroup>
23-
<ItemGroup>
23+
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
2424
<PackageReference Include="Umbraco.Cms.Infrastructure" Version="[9.0.0,10.0.0)" />
2525
</ItemGroup>
26+
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
27+
<PackageReference Include="Umbraco.Cms.Infrastructure" Version="[10.0.0,11.0.0)" />
28+
</ItemGroup>
29+
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
30+
<PackageReference Include="Umbraco.Cms.Infrastructure" Version="[11.0.0,13.0.0)" />
31+
</ItemGroup>
2632
</Project>

0 commit comments

Comments
 (0)