-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMaaFramework.Binding.UnitTests.csproj
More file actions
50 lines (41 loc) · 1.67 KB
/
MaaFramework.Binding.UnitTests.csproj
File metadata and controls
50 lines (41 loc) · 1.67 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
<PackageReference Include="SixLabors.ImageSharp" />
<ProjectReference Include="..\MaaFramework\MaaFramework.csproj" Private="false" />
<ProjectReference Include="..\MaaFramework.Binding.Extensions\MaaFramework.Binding.Extensions.csproj" />
<None Include="..\Common\TestParam.runsettings" />
<None Include="SampleResource\**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<PropertyGroup>
<GenerateProgramFile>false</GenerateProgramFile>
<AnalysisMode>Default</AnalysisMode>
<NoWarn>$(NoWarn),S1121,S1656,S1199,CS1591</NoWarn>
</PropertyGroup>
<!-- Maa Test Constants -->
<PropertyGroup>
<DefineConstants>$(DefineConstants);MAA_NATIVE;</DefineConstants>
</PropertyGroup>
<Choose>
<When Condition="$([System.OperatingSystem]::IsOSPlatform('WINDOWS'))">
<PropertyGroup>
<DefineConstants>$(DefineConstants);MAA_WIN32;</DefineConstants>
</PropertyGroup>
</When>
<Otherwise>
</Otherwise>
</Choose>
<Choose>
<When Condition="$([System.Environment]::GetEnvironmentVariable('GITHUB_ACTIONS')) == 'true'">
<PropertyGroup>
<DefineConstants>$(DefineConstants);GITHUB_ACTIONS;</DefineConstants>
</PropertyGroup>
</When>
<Otherwise>
</Otherwise>
</Choose>
</Project>