-
Notifications
You must be signed in to change notification settings - Fork 1
/
toucca.csproj
39 lines (32 loc) · 1.14 KB
/
toucca.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="Globals" />
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22000.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Compile Remove=".github\**" />
<EmbeddedResource Remove=".github\**" />
<None Remove=".github\**" />
<Page Remove=".github\**" />
</ItemGroup>
<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.2739.15" />
<PackageReference Include="System.IO.Ports" Version="8.0.0" />
</ItemGroup>
<!-- New Target to copy the 'web' folder -->
<Target Name="CopyWebFolder" AfterTargets="Build">
<ItemGroup>
<WebFiles Include="web\**\*" />
</ItemGroup>
<Copy SourceFiles="@(WebFiles)" DestinationFolder="$(OutputPath)\web\%(RecursiveDir)" />
</Target>
</Project>