Skip to content

Commit 9d42be9

Browse files
committed
Fix build error for test project
1 parent 3753a69 commit 9d42be9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

detect-nuget-inspector/detect-nuget-inspector-tests/detect-nuget-inspector-tests.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
<Nullable>enable</Nullable>
88

99
<IsPackable>false</IsPackable>
10+
<!-- Disable auto-generation of assembly attributes to prevent duplicate attribute errors.
11+
Test projects don't need assembly metadata (version, company, etc.) for distribution,
12+
and running a build was creating conflicting duplicate attributes. -->
13+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
14+
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
1015
</PropertyGroup>
1116

1217
<ItemGroup>

0 commit comments

Comments
 (0)