Skip to content

Commit 9fc67a1

Browse files
authored
fix: Only exclude Test and Xample projects (#74)
Signed-off-by: Martin Stühmer <me@samtrion.net>
1 parent b7aff22 commit 9fc67a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NetEvolve.Defaults/build/SupportAssemblyAttributes.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<AssemblyAttribute
99
Include="System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverageAttribute"
10-
Condition=" ('$(IsTestableProject)' == 'true' or '$(IsXampleProject)' != 'true') and $([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net5.0')) == 'true' " />
10+
Condition=" ('$(IsTestableProject)' == 'true' or '$(IsXampleProject)' == 'true') and $([MSBuild]::IsTargetFrameworkCompatible($(TargetFramework), 'net5.0')) == 'true' " />
1111
</ItemGroup>
1212

1313
</Project>

0 commit comments

Comments
 (0)