Files
Progrart/Progrart.Desktop/Progrart.Desktop.csproj
T
Creeper Lv e5cb9c2d28 Changed the assembly name to allow double-click to open in macOS
Added random number generator in JS engine.
2026-03-22 02:12:35 +11:00

33 lines
1.4 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType><!--If you are willing to use platform-specific APIs, use conditional compilation.
See https://docs.avaloniaui.net/docs/guides/platforms/platform-specific-code/dotnet for more details.-->
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<PublishAot>true</PublishAot>
<AssemblyName>ProgrartDesktop</AssemblyName>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
<ApplicationIcon>progrart_app_icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Content Include="progrart_app_icon.ico"/>
</ItemGroup>
<ItemGroup>
<TrimmerRootAssembly Include="Progrart"/>
<TrimmerRootAssembly Include="Progrart.Core"/>
<TrimmerRootAssembly Include="Jint"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia.Desktop"/><!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics">
<IncludeAssets Condition="&apos;$(Configuration)&apos; != &apos;Debug&apos;">None</IncludeAssets>
<PrivateAssets Condition="&apos;$(Configuration)&apos; != &apos;Debug&apos;">All</PrivateAssets>
</PackageReference>
<PackageReference Include="SkiaSharp.NativeAssets.Linux"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Progrart\Progrart.csproj"/>
</ItemGroup>
</Project>