You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1019B

  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>WinExe</OutputType>
  4. <!--If you are willing to use Windows/MacOS native APIs you will need to create 3 projects.
  5. One for Windows with net7.0-windows TFM, one for MacOS with net7.0-macos and one with net7.0 TFM for Linux.-->
  6. <TargetFramework>net7.0</TargetFramework>
  7. <Nullable>enable</Nullable>
  8. <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
  9. </PropertyGroup>
  10. <PropertyGroup>
  11. <ApplicationManifest>app.manifest</ApplicationManifest>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <PackageReference Include="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
  15. <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
  16. <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
  17. </ItemGroup>
  18. <ItemGroup>
  19. <ProjectReference Include="..\Example\Example.csproj" />
  20. </ItemGroup>
  21. </Project>