Skip to content

Commit

Permalink
Ignoring generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
thygrrr committed Nov 14, 2024
1 parent f5e9fe3 commit 546ee7e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ Temp
s3/
.dist
*.old

generated/
4 changes: 0 additions & 4 deletions fennecs.generators/fennecs.generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,4 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.0"/>
</ItemGroup>

<ItemGroup>
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions fennecs/fennecs.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,16 @@
<Nullable>enable</Nullable>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>generated</CompilerGeneratedFilesOutputPath>
</PropertyGroup>

<ItemGroup>
<Compile Remove="generated\**" />
<Content Include="generated\**" />
</ItemGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<EnablePackageValidation>true</EnablePackageValidation>
Expand Down

0 comments on commit 546ee7e

Please sign in to comment.