xamarin-macios/tests/fsharp/dotnet/shared.fsproj

41 строка
1.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<OutputType>Exe</OutputType>
<DefineConstants>$(DefineConstants);NET</DefineConstants>
<LangVersion>latest</LangVersion>
<RootNamespace>fsharp</RootNamespace>
<AssemblyName>fsharp</AssemblyName>
<ApplicationTitle>FSharp</ApplicationTitle>
<RootTestsDirectory>$([System.IO.Path]::GetFullPath('$(MSBuildProjectDirectory)\..\..\..'))</RootTestsDirectory>
<TestLibrariesDirectory>$(RootTestsDirectory)\test-libraries</TestLibrariesDirectory>
<FSharpTestDirectory>$(RootTestsDirectory)\fsharp</FSharpTestDirectory>
<!-- 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" />
<PackageReference Include="FSharp.Core" Version="5.0.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="$(FSharpTestDirectory)/AppDelegate.fs" Condition="!$(TargetFramework.EndsWith('-macos'))" />
<Compile Include="$(FSharpTestDirectory)/FSharpTests.fs" />
<Compile Include="$(RootTestsDirectory)/common/mac/MacMain.fs" Condition="$(TargetFramework.EndsWith('-macos'))" />
<Compile Include="$(FSharpTestDirectory)/Main.fs" Condition="!$(TargetFramework.EndsWith('-macos'))" />
</ItemGroup>
<Import Project="$(RootTestsDirectory)\nunit.framework.targets" />
</Project>