mirror of
				https://github.com/velopack/velopack.git
				synced 2025-10-25 15:19:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <Project Sdk="Microsoft.NET.Sdk">
 | |
| 
 | |
|   <PropertyGroup>
 | |
|     <OutputType>WinExe</OutputType>
 | |
|     <TargetFramework>net8.0</TargetFramework>
 | |
|     <BuiltInComInteropSupport>true</BuiltInComInteropSupport>
 | |
|     <ApplicationManifest>app.manifest</ApplicationManifest>
 | |
|     <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
 | |
|     <NoWarn>$(NoWarn);IDE0161</NoWarn>
 | |
|   </PropertyGroup>
 | |
| 
 | |
|   <ItemGroup>
 | |
|     <PackageReference Include="Avalonia" Version="11.0.9" />
 | |
|     <PackageReference Include="Avalonia.Desktop" Version="11.0.9" />
 | |
|     <PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.9" />
 | |
|     <PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.9" />
 | |
|     <!--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.9" />
 | |
|   </ItemGroup>
 | |
| 
 | |
|   <!-- For test build scripts which target the local Velopack project instead of the NuGet package -->
 | |
|   <Choose>
 | |
|     <When Condition=" $(UseLocalVelopack) != '' ">
 | |
|       <ItemGroup>
 | |
|         <ProjectReference Include="..\..\src\Velopack\Velopack.csproj" />
 | |
|       </ItemGroup>
 | |
|     </When>
 | |
|     <Otherwise>
 | |
|       <ItemGroup>
 | |
|         <PackageReference Include="Velopack" Version="0.*" />
 | |
|       </ItemGroup>
 | |
|     </Otherwise>
 | |
|   </Choose>
 | |
| 
 | |
|   <!-- For demonstrating updates, so the installed application can find the Release directory -->
 | |
|   <ItemGroup>
 | |
|     <AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
 | |
|       <_Parameter1>AvaloniaSampleReleaseDir</_Parameter1>
 | |
|       <_Parameter2>$(MSBuildThisFileDirectory)releases</_Parameter2>
 | |
|     </AssemblyAttribute>
 | |
|   </ItemGroup>
 | |
| 
 | |
| </Project>
 |