MobileSandbox.Desktop.csproj 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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\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. <PackageReference Include="Avalonia.Angle.Windows.Natives" Version="2.1.0.2020091801" />
  24. <!-- For native controls test -->
  25. <PackageReference Include="MonoMac.NetStandard" Version="0.0.4" />
  26. </ItemGroup>
  27. <ItemGroup Condition="'$(RunNativeAotCompilation)' == 'true'">
  28. <PackageReference Include="Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  29. <!-- Cross-compilation for Windows x64-arm64 and Linux x64-arm64 -->
  30. <PackageReference Condition="'$(RuntimeIdentifier)'=='win-arm64'" Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  31. <PackageReference Condition="'$(RuntimeIdentifier)'=='linux-arm64'" Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler" Version="$(NativeAotCompilerVersion)" />
  32. </ItemGroup>
  33. <PropertyGroup>
  34. <!-- For Microsoft.CodeAnalysis -->
  35. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  36. <ApplicationManifest>app.manifest</ApplicationManifest>
  37. </PropertyGroup>
  38. <Import Project="..\..\build\SampleApp.props" />
  39. <Import Project="..\..\build\ReferenceCoreLibraries.props" />
  40. </Project>