Skip to content

Commit c195a5b

Browse files
committed
Update target framework to netstandard2.1 for improved compatibility
1 parent d6151da commit c195a5b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/LibKubernetesGenerator/LibKubernetesGenerator.target

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
<EmbeddedResource Include="$(MSBuildThisFileDirectory)/templates/*" WithCulture="false" />
1212
</ItemGroup>
1313

14-
<ItemGroup>
15-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" PrivateAssets="all" />
16-
</ItemGroup>
17-
1814
<ItemGroup>
1915
<!-- Scriban No Dependency -->
2016
<PackageReference Include="Scriban" IncludeAssets="Build" />
@@ -33,6 +29,7 @@
3329
<PackageReference Include="NJsonSchema.Annotations" GeneratePathProperty="true" PrivateAssets="all" />
3430
<PackageReference Include="Newtonsoft.Json" GeneratePathProperty="true" PrivateAssets="all" />
3531
<PackageReference Include="Namotion.Reflection" GeneratePathProperty="true" PrivateAssets="all" />
32+
<PackageReference Include="System.Text.Json" GeneratePathProperty="true" PrivateAssets="all" />
3633
</ItemGroup>
3734

3835
<PropertyGroup>
@@ -52,6 +49,7 @@
5249
<TargetPathWithTargetPlatformMoniker Include="$(PKGNJsonSchema_Annotations)\lib\netstandard2.0\NJsonSchema.Annotations.dll" IncludeRuntimeDependency="false" />
5350
<TargetPathWithTargetPlatformMoniker Include="$(PKGNewtonsoft_Json)\lib\netstandard1.0\Newtonsoft.Json.dll" IncludeRuntimeDependency="false" />
5451
<TargetPathWithTargetPlatformMoniker Include="$(PKGNamotion_Reflection)\lib\netstandard2.0\Namotion.Reflection.dll" IncludeRuntimeDependency="false" />
52+
<TargetPathWithTargetPlatformMoniker Include="$(PKGSystem_Text_Json)\lib\netstandard2.0\System.Text.Json.dll" IncludeRuntimeDependency="false" />
5553
</ItemGroup>
5654
</Target>
5755

0 commit comments

Comments
 (0)