Public paste
Undefined
By: Guest | Date: Oct 31 2021 10:09 | Format: XML | Expires: never | Size: 740 B | Hits: 282

  1. <Project Sdk="Microsoft.NET.Sdk">
  2.  
  3.   <PropertyGroup>
  4.     <OutputType>WinExe</OutputType>
  5.     <TargetFramework>net5.0-windows</TargetFramework>
  6.     <UseWPF>true</UseWPF>
  7.   </PropertyGroup>
  8.  
  9.   <ItemGroup>
  10.     <PackageReference Include="Stylet" Version="1.3.6" />
  11.   </ItemGroup>
  12.  
  13.   <ItemGroup>
  14.     <ProjectReference Include="..\OnlineServices\OnlineServices.csproj" />
  15.   </ItemGroup>
  16.  
  17.   <ItemGroup>
  18.     <Assets Include="Assets\**\*.*"/>
  19.   </ItemGroup>
  20.  
  21.   <Target Name="CopyAssets" BeforeTargets="CoreBuild">
  22.     <Message Text="Copying Assets..." Importance="high" />
  23.     <Copy SourceFiles="@(Assets)" DestinationFiles="@(Assets->'$(OutputPath)\Assets\%(RecursiveDir)%(Filename)%(Extension)')"/>
  24.   </Target>
  25. </Project>
  26.