Skip to content

Commit

Permalink
chore: Added configuration for generated files (#69)
Browse files Browse the repository at this point in the history
* chore: Added configuration for generated files

* fix: CS2021 Invalid folder character

* fix: Gnarf

* fix: Gnarf /

* fix: Added exists condition

* chore: This is driving me nuts
  • Loading branch information
samtrion authored Jan 30, 2025
1 parent cce3c17 commit 397f4fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/NetEvolve.Defaults/build/SupportGeneral.props
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,14 @@
<NeutralLanguage>en</NeutralLanguage>
<PreferredUILang>en</PreferredUILang>
</PropertyGroup>

<PropertyGroup Condition=" '$(BuildingInsideVisualStudio)' == 'true' ">
<GeneratedFolder>_generated</GeneratedFolder>
<CompilerGeneratedFilesOutputPath>$(GeneratedFolder)/$(TargetFramework)</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

<ItemGroup Condition=" '$(BuildingInsideVisualStudio)' == 'true' ">
<Compile Remove="$(GeneratedFolder)/**/*.cs" />
</ItemGroup>

</Project>

0 comments on commit 397f4fc

Please sign in to comment.