Repository navigation
Expand file tree
/
Copy pathLevelLibrary.csproj
More file actions
133 lines (129 loc) · 5.49 KB
/
Copy pathLevelLibrary.csproj
File metadata and controls
133 lines (129 loc) · 5.49 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>disable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AssemblyName>LevelLibrary</AssemblyName>
<RootNamespace>LevelLibrary</RootNamespace>
<OutputType>Library</OutputType>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<EnableDefaultCompileItems>true</EnableDefaultCompileItems>
<FrameworkPathOverride>$(GameManaged)</FrameworkPathOverride>
</PropertyGroup>
<PropertyGroup>
<GameDir>D:\softwell\steamapps\common\A Dance of Fire and Ice</GameDir>
<GameManaged>$(GameDir)\A Dance of Fire and Ice_Data\Managed</GameManaged>
<GameMods>$(GameDir)\Mods</GameMods>
</PropertyGroup>
<ItemGroup>
<!-- 更新功能要在后台解压下载下来的 zip,需要这两个程序集 -->
<Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="Assembly-CSharp">
<HintPath>$(GameManaged)\Assembly-CSharp.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
<HintPath>$(GameManaged)\Assembly-CSharp-firstpass.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityModManager">
<HintPath>$(GameManaged)\UnityModManager\UnityModManager.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(GameManaged)\UnityModManager\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(GameManaged)\UnityModManager\0Harmony.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(GameManaged)\UnityEngine.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(GameManaged)\UnityEngine.CoreModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>$(GameManaged)\UnityEngine.UI.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UIModule">
<HintPath>$(GameManaged)\UnityEngine.UIModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>$(GameManaged)\UnityEngine.IMGUIModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>$(GameManaged)\UnityEngine.InputLegacyModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>$(GameManaged)\UnityEngine.TextRenderingModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>$(GameManaged)\UnityEngine.ImageConversionModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.Physics2DModule">
<HintPath>$(GameManaged)\UnityEngine.Physics2DModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.AudioModule">
<HintPath>$(GameManaged)\UnityEngine.AudioModule.dll</HintPath>
<Private>false</Private>
</Reference>
<!-- [2026-09-24 task1] video background uses VideoPlayer, which lives in
UnityEngine.VideoModule (compile error CS1069 means this reference is missing). -->
<Reference Include="UnityEngine.VideoModule">
<HintPath>$(GameManaged)\UnityEngine.VideoModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestAudioModule">
<HintPath>$(GameManaged)\UnityEngine.UnityWebRequestAudioModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestModule">
<HintPath>$(GameManaged)\UnityEngine.UnityWebRequestModule.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="Newtonsoft.Json">
<HintPath>$(GameManaged)\Newtonsoft.Json.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="System.Drawing">
<HintPath>$(GameManaged)\System.Drawing.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="System.Windows.Forms" />
<Reference Include="RDTools">
<HintPath>$(GameManaged)\RDTools.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="System">
<HintPath>$(GameManaged)\System.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="netstandard">
<HintPath>$(GameManaged)\netstandard.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<AssetFiles Include="$(MSBuildProjectDirectory)\assets\**\*.*" />
</ItemGroup>
<!-- 编译后自动拷贝到游戏 Mods 目录 -->
<Target Name="DeployToGame" AfterTargets="Build">
<MakeDir Directories="$(GameMods)\LevelLibrary" />
<Copy SourceFiles="$(OutputPath)LevelLibrary.dll" DestinationFolder="$(GameMods)\LevelLibrary" />
<Copy SourceFiles="$(MSBuildProjectDirectory)\Info.json" DestinationFolder="$(GameMods)\LevelLibrary" />
<Copy SourceFiles="@(AssetFiles)" DestinationFolder="$(GameMods)\LevelLibrary\assets\%(RecursiveDir)" />
</Target>
</Project>