Skip to content

Commit ae87a88

Browse files
committed
fix: update .NET settings
1 parent f0d5aeb commit ae87a88

File tree

1 file changed

+27
-5
lines changed

1 file changed

+27
-5
lines changed
Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup>
3-
<PackageId>KubernetesCRDModelGen.Models.postgresql.cnpg.io</PackageId>
4-
<RepositoryUrl>https://github.com/IvanJosipovic/KubernetesCRDModelGen.Models.postgresql.cnpg.io</RepositoryUrl>
5-
<Description>C# models for Kubernetes CRDs in group postgresql.cnpg.io</Description>
6-
</PropertyGroup>
2+
<PropertyGroup>
3+
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
4+
<PackageId>KubernetesCRDModelGen.Models.postgresql.cnpg.io</PackageId>
5+
<RepositoryUrl>https://github.com/IvanJosipovic/KubernetesCRDModelGen.Models.postgresql.cnpg.io</RepositoryUrl>
6+
<Description>C# models for Kubernetes CRDs in group postgresql.cnpg.io</Description>
7+
<Authors>Ivan Josipovic</Authors>
8+
<PackageTags>Kubernetes CustomResourceDefinition CRD Models</PackageTags>
9+
<ImplicitUsings>enable</ImplicitUsings>
10+
<Nullable>enable</Nullable>
11+
<LangVersion>latest</LangVersion>
12+
<RepositoryUrl>https://github.com/IvanJosipovic/KubernetesCRDModelGen</RepositoryUrl>
13+
<RepositoryType>git</RepositoryType>
14+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
15+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
16+
<IncludeSymbols>true</IncludeSymbols>
17+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
18+
<IsPackable>true</IsPackable>
19+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
20+
<PackageReadmeFile>README.md</PackageReadmeFile>
21+
<NoWarn>$(NoWarn);CS1591;CS8618</NoWarn>
22+
<WarningsAsErrors>$(WarningsAsErrors);CS8784;CS8785</WarningsAsErrors>
23+
</PropertyGroup>
24+
25+
<ItemGroup>
26+
<None Include="README.md" Pack="true" PackagePath="\" />
27+
<AdditionalFiles Include="crds\*.yaml" />
28+
</ItemGroup>
729
</Project>

0 commit comments

Comments
 (0)