feat: move to props file.

This commit is contained in:
rabbitism
2023-04-23 01:41:42 +08:00
parent 39b17f52d1
commit 29f7af5bd0
9 changed files with 23 additions and 15 deletions

View File

@@ -11,6 +11,8 @@
-->
</PropertyGroup>
<Import Project="../Directory.Build.props" />
<PropertyGroup>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
@@ -20,9 +22,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia.Desktop" Version="11.0.999-cibuild0033637-beta" />
<PackageReference Include="Avalonia.Desktop" Version="$(AvaloniaVersion)" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview6" />
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="$(AvaloniaVersion)" />
</ItemGroup>
<ItemGroup>