-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSupportGeneral.targets
More file actions
21 lines (21 loc) · 989 Bytes
/
SupportGeneral.targets
File metadata and controls
21 lines (21 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>
<ItemGroup Label="Test compability" Condition=" '$(IsTestableProject)' == 'false' ">
<InternalsVisibleTo Include="$(MSBuildProjectName).Tests.Architecture" />
<InternalsVisibleTo Include="$(MSBuildProjectName).Tests.Unit" />
<InternalsVisibleTo Include="$(MSBuildProjectName).Tests.Integration" />
</ItemGroup>
<PropertyGroup Condition=" '$(IsTestableProject)' == 'false' and '$(IsXampleProject)' == 'false' ">
<IsPackable>true</IsPackable>
<IsTestProject>false</IsTestProject>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsXampleProject)' == 'true' ">
<IsPackable>false</IsPackable>
<IsTestProject>false</IsTestProject>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
</PropertyGroup>
<ItemGroup>
<None Remove="$(MSBuildProjectDirectory)/*.sarif" />
<None Remove="$(MSBuildProjectDirectory)/**/*.sarif" />
<None Remove="$(MSBuildProjectDirectory)/TestResults/**" />
</ItemGroup>
</Project>