MobileSandbox.Desktop.csproj 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <TargetFramework>net6.0</TargetFramework>
  5. <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
  6. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  7. </PropertyGroup>
  8. <PropertyGroup Condition="'$(RunNativeAotCompilation)' == 'true'">
  9. <IlcTrimMetadata>true</IlcTrimMetadata>
  10. <RestoreAdditionalProjectSources>https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json</RestoreAdditionalProjectSources>
  11. <NativeAotCompilerVersion>7.0.0-*</NativeAotCompilerVersion>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <Compile Include="..\..\src\Avalonia.X11\NativeDialogs\Gtk.cs" Link="NativeControls\Gtk\Gtk.cs" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <ProjectReference Include="..\..\src\Avalonia.Diagnostics\Avalonia.Diagnostics.csproj" />
  18. <ProjectReference Include="..\..\src\Headless\Avalonia.Headless.Vnc\Avalonia.Headless.Vnc.csproj" />
  19. <ProjectReference Include="..\..\src\Avalonia.Dialogs\Avalonia.Dialogs.csproj" />
  20. <ProjectReference Include="..\..\src\Linux\Avalonia.LinuxFramebuffer\Avalonia.LinuxFramebuffer.csproj" />
  21. <ProjectReference Include="..\MobileSandbox\MobileSandbox.csproj" />
  22. <ProjectReference Include="..\..\src\Avalonia.X11\Avalonia.X11.csproj" />
  23. <!-- For native controls test -->
  24. <PackageReference Include="MonoMac.NetStandard" Version="0.0.4" />
  25. </ItemGroup>
  26. <ItemGroup Condition="'$(RunNativeAotCompilation)' == 'true'">
  27. <PackageReference Include="Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  28. <!-- Cross-compilation for Windows x64-arm64 and Linux x64-arm64 -->
  29. <PackageReference Condition="'$(RuntimeIdentifier)'=='win-arm64'" Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  30. <PackageReference Condition="'$(RuntimeIdentifier)'=='linux-arm64'" Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  31. </ItemGroup>
  32. <PropertyGroup>
  33. <!-- For Microsoft.CodeAnalysis -->
  34. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  35. <ApplicationManifest>app.manifest</ApplicationManifest>
  36. </PropertyGroup>
  37. <Import Project="..\..\build\SampleApp.props" />
  38. <Import Project="..\..\build\ReferenceCoreLibraries.props" />
  39. </Project>