Skip to content

Commit d717efc

Browse files
authored
feat: add missing support for net10 in multiple project files and update Microsoft.Build.Locator version (#998)
1 parent 062ad9a commit d717efc

File tree

9 files changed

+19
-14
lines changed

9 files changed

+19
-14
lines changed

src/KubeOps.Abstractions/KubeOps.Abstractions.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>

src/KubeOps.Cli/KubeOps.Cli.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
66
<EnablePreviewFeatures>true</EnablePreviewFeatures>
77
</PropertyGroup>
88

@@ -18,12 +18,13 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="Microsoft.Build.Locator" Version="1.10.12" />
21+
<PackageReference Include="Microsoft.Build.Locator" Version="1.11.1" />
2222
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.0.0" />
2323
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.0.0" />
2424
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
2525
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0" />
2626
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
27+
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" ExcludeAssets="runtime" />
2728
<PackageReference Include="Spectre.Console" Version="0.54.0" />
2829
<PackageReference Include="Spectre.Console.Analyzer" Version="1.0.0">
2930
<PrivateAssets>all</PrivateAssets>
@@ -38,4 +39,4 @@
3839
<ProjectReference Include="..\KubeOps.Transpiler\KubeOps.Transpiler.csproj" />
3940
</ItemGroup>
4041

41-
</Project>
42+
</Project>

src/KubeOps.KubernetesClient/KubeOps.KubernetesClient.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -20,4 +20,4 @@
2020
<ProjectReference Include="..\KubeOps.Transpiler\KubeOps.Transpiler.csproj" />
2121
</ItemGroup>
2222

23-
</Project>
23+
</Project>

src/KubeOps.Templates/KubeOps.Templates.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Title>KubeOps Templates</Title>
5-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<TargetFramework>netstandard2.0</TargetFramework>
66

77
<IncludeContentInPack>true</IncludeContentInPack>
88
<IncludeBuildOutput>false</IncludeBuildOutput>
@@ -23,4 +23,4 @@
2323
<Compile Remove="**\*" />
2424
</ItemGroup>
2525

26-
</Project>
26+
</Project>

src/KubeOps.Transpiler/KubeOps.Transpiler.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
55
</PropertyGroup>
66

77
<PropertyGroup>
@@ -22,4 +22,4 @@
2222
<ProjectReference Include="..\KubeOps.Abstractions\KubeOps.Abstractions.csproj" />
2323
</ItemGroup>
2424

25-
</Project>
25+
</Project>

test/KubeOps.Cli.Test/KubeOps.Cli.Test.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.0.0" />
1212
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
1313
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0" />
14+
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" ExcludeAssets="runtime" />
1415
<PackageReference Include="Spectre.Console.Testing" Version="0.54.0" />
1516
</ItemGroup>
16-
</Project>
17+
</Project>

test/KubeOps.Operator.Test/KubeOps.Operator.Test.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<PackageReference Include="KubernetesClient" Version="18.0.5" />
4-
<PackageReference Include="Microsoft.Build.Locator" Version="1.10.12"/>
4+
<PackageReference Include="Microsoft.Build.Locator" Version="1.11.1" />
55
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.0.0" />
66
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.0.0" />
77
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
88
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0" />
99
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
10+
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" ExcludeAssets="runtime" />
1011
<PackageReference Include="Moq" Version="4.20.72" />
1112
</ItemGroup>
1213

test/KubeOps.Operator.Web.Test/KubeOps.Operator.Web.Test.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
33
<PackageReference Include="KubernetesClient" Version="18.0.5" />
4-
<PackageReference Include="Microsoft.Build.Locator" Version="1.10.12"/>
4+
<PackageReference Include="Microsoft.Build.Locator" Version="1.11.1" />
55
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.0.0" />
66
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.0.0" />
77
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
88
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0" />
99
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
10+
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" ExcludeAssets="runtime" />
1011
</ItemGroup>
1112
<ItemGroup Condition="'$(TargetFramework)'=='net8.0' Or '$(TargetFramework)'=='net9.0'">
1213
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.0"/>

test/KubeOps.Transpiler.Test/KubeOps.Transpiler.Test.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
<ItemGroup>
44
<PackageReference Include="KubernetesClient" Version="18.0.5" />
5-
<PackageReference Include="Microsoft.Build.Locator" Version="1.10.12" />
5+
<PackageReference Include="Microsoft.Build.Locator" Version="1.11.1" />
66
<PackageReference Include="Microsoft.CodeAnalysis" Version="5.0.0" />
77
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="5.0.0" />
88
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" />
99
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.0.0" />
1010
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.0.0" />
11+
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" ExcludeAssets="runtime" />
1112
</ItemGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)