forked from microsoft/CsWinRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnitTest.csproj
54 lines (48 loc) · 2.45 KB
/
UnitTest.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!--Target .NET Core 3.1 to test .NET Standard 2.0 projection -->
<TargetFrameworks>$(AppBuildTFMs)</TargetFrameworks>
<Platforms>x64;x86</Platforms>
<ProjectName>UnitTest</ProjectName>
<NoWarn>1701;1702;0436;1658</NoWarn>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<SimulateCsWinRTNugetReference>true</SimulateCsWinRTNugetReference>
<CsWinRTEnabled>false</CsWinRTEnabled>
</PropertyGroup>
<PropertyGroup Condition="!$(IsTargetFrameworkNet5OrGreater)">
<CsWinRTIIDOptimizerOptOut>true</CsWinRTIIDOptimizerOptOut>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Projections\TestSubset\TestSubset.csproj" />
<ProjectReference Include="..\..\Projections\Windows\Windows.csproj" />
<ProjectReference Include="..\..\Projections\WinAppSDK\WinAppSDK.csproj" />
<ProjectReference Include="..\..\Projections\Test\Test.csproj" />
<ProjectReference Include="..\OOPExe\OOPExe.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.6" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.console" Version="2.4.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="XunitXml.TestLogger" Version="2.1.26" />
<PackageReference Include="System.Memory" Version="4.5.4" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.1.635-beta">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<ItemGroup Condition="!$(IsTargetFrameworkNet5OrGreater)">
<Compile Remove="**/*.net5.cs" />
<None Include="**/*.net5.cs" />
</ItemGroup>
<ItemGroup Condition="$(IsTargetFrameworkNet5OrGreater)">
<Compile Remove="**/*.netstandard2.0.cs" />
<None Include="**/*.netstandard2.0.cs" />
</ItemGroup>
</Project>