-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path烟尘记.csproj
More file actions
41 lines (30 loc) · 1.56 KB
/
Copy path烟尘记.csproj
File metadata and controls
41 lines (30 loc) · 1.56 KB
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
40
41
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UseWPF>true</UseWPF>
<BaseOutputPath>T:\ELCO\Computer Science\Software Engineering\烟尘记\烟尘记 [ Code ]\烟尘记\bin</BaseOutputPath>
</PropertyGroup>
<ItemGroup>
<!-- 匹配 Filesystem 文件夹下的所有文件(包括子文件夹), water_ripple.ps 以及.hlsl除外 Font文件夹除外-->
<Content Include="Filesystem\**\*.*">
<!-- 统一属性 -->
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<!-- 指定输出路径(在 net8.0-windows 中的 Filesystem 文件夹内) -->
<TargetPath>.\Filesystem\%(RecursiveDir)%(Filename)%(Extension)</TargetPath>
</Content>
<!-- 既不作为资源也不作为内容的 water_ripple.hlsl -->
<Content Remove="Filesystem\Resource\Start\water_ripple.hlsl" />
<!-- 单独作为资源的 water_ripple.ps -->
<Content Remove="Filesystem\Resource\Start\water_ripple.ps" />
<Resource Include="Filesystem\Resource\Start\water_ripple.ps" />
<!-- 单独作为资源的 Font 下的内容-->
<Content Remove="Filesystem\Resource\Font\**\*.*" />
<Resource Include="Filesystem\Resource\Font\**\*.*" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="dxc /T ps_6_0 /E main /Fo "$(ProjectDir)Filesystem\Resource\Start\water_ripple.ps" "$(ProjectDir)Filesystem\Resource\Start\water_ripple.hlsl"" />
</Target>
</Project>