Skip to content

Commit e0ee4e5

Browse files
committed
chore: update .NET settings
1 parent e095d49 commit e0ee4e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

KubernetesCRDModelGen.Models.databricks.upbound.io.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,15 @@
1919
<PackageReadmeFile>README.md</PackageReadmeFile>
2020
<NoWarn>$(NoWarn);CS1591;CS8618</NoWarn>
2121
<WarningsAsErrors>$(WarningsAsErrors);CS8784;CS8785</WarningsAsErrors>
22+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
23+
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
2224
</PropertyGroup>
2325

26+
<ItemGroup>
27+
<!-- Exclude the output of source generators from the compilation -->
28+
<Compile Remove="$(CompilerGeneratedFilesOutputPath)/**/*.cs" />
29+
</ItemGroup>
30+
2431
<ItemGroup>
2532
<None Include="README.md" Pack="true" PackagePath="\" />
2633
<AdditionalFiles Include="crds\*.yaml" />

0 commit comments

Comments
 (0)