ControlCatalog.NetCore.csproj 2.0 KB

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