Skip to content

Commit 546ee7e

Browse files
committed
Ignoring generated files
1 parent f5e9fe3 commit 546ee7e

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ Temp
1111
s3/
1212
.dist
1313
*.old
14+
15+
generated/

fennecs.generators/fennecs.generators.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@
2323
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.3.0"/>
2424
</ItemGroup>
2525

26-
<ItemGroup>
27-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
28-
</ItemGroup>
29-
3026
</Project>

fennecs/fennecs.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,16 @@
3131
<Nullable>enable</Nullable>
3232
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
3333
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
34+
35+
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
36+
<CompilerGeneratedFilesOutputPath>generated</CompilerGeneratedFilesOutputPath>
3437
</PropertyGroup>
3538

39+
<ItemGroup>
40+
<Compile Remove="generated\**" />
41+
<Content Include="generated\**" />
42+
</ItemGroup>
43+
3644
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
3745
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
3846
<EnablePackageValidation>true</EnablePackageValidation>

0 commit comments

Comments
 (0)