ControlCatalog.NetCore.csproj 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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="'$(RunAotCompilation)' == '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="'$(RunAotCompilation)' == '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. <RdXmlFile Include="rd.xml" />
  27. </ItemGroup>
  28. <PropertyGroup>
  29. <!-- For Microsoft.CodeAnalysis -->
  30. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  31. </PropertyGroup>
  32. <Import Project="..\..\build\SampleApp.props" />
  33. <Import Project="..\..\build\ReferenceCoreLibraries.props" />
  34. </Project>