44 строки
2.1 KiB
XML
44 строки
2.1 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<Project>
|
||
|
<PropertyGroup>
|
||
|
<OutputType>Exe</OutputType>
|
||
|
<DefineConstants>$(DefineConstants);NET</DefineConstants>
|
||
|
<LangVersion>latest</LangVersion>
|
||
|
<RootNamespace>xcframeworktest</RootNamespace>
|
||
|
|
||
|
<RootTestsDirectory>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..\..'))</RootTestsDirectory>
|
||
|
<TestLibrariesDirectory>$(RootTestsDirectory)\test-libraries</TestLibrariesDirectory>
|
||
|
<FrameworkTestDirectory>$(RootTestsDirectory)\xcframework-test</FrameworkTestDirectory>
|
||
|
|
||
|
<!-- Don't remove native symbols, because it makes debugging native crashes harder -->
|
||
|
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
|
||
|
|
||
|
<DefineConstants Condition="'$(Configuration)' == 'Debug'">$(DefineConstants);DEBUG</DefineConstants>
|
||
|
</PropertyGroup>
|
||
|
|
||
|
<Import Project="$(RootTestsDirectory)/common/shared-dotnet.csproj" />
|
||
|
|
||
|
<ItemGroup>
|
||
|
<PackageReference Include="NUnitLite" Version="3.12.0" />
|
||
|
<ProjectReference Include="$(RootTestsDirectory)\..\external\Touch.Unit\Touch.Client\dotnet\$(_PlatformName)\Touch.Client-$(_PlatformName).dotnet.csproj" />
|
||
|
<!-- MonoTouch.Dialog references System.Json, which isn't shipped with .NET5, so reference the NuGet instead -->
|
||
|
<PackageReference Include="System.Json" Version="4.7.1" />
|
||
|
|
||
|
<ProjectReference Include="$(RootTestsDirectory)\bindings-xcframework-test\dotnet\$(_PlatformName)\bindings-xcframework-test.csproj" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<BundleResource Include="$(FrameworkTestDirectory)\iOS\Resources\Default-568h%402x.png">
|
||
|
<Link>Resources\Default-568h%402x.png</Link>
|
||
|
</BundleResource>
|
||
|
</ItemGroup>
|
||
|
|
||
|
<ItemGroup>
|
||
|
<Compile Include="$(FrameworkTestDirectory)\iOS\AppDelegate.cs" Condition="!$(TargetFramework.EndsWith('-macos'))" />
|
||
|
<Compile Include="$(FrameworkTestDirectory)\iOS\XCFrameworkTests.cs" />
|
||
|
<Compile Include="$(RootTestsDirectory)\common\mac\MacMain.cs" Condition="$(TargetFramework.EndsWith('-macos'))" Link="MacMain.cs" />
|
||
|
</ItemGroup>
|
||
|
|
||
|
<Import Project="$(RootTestsDirectory)\nunit.framework.targets" />
|
||
|
</Project>
|