-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathctrlC.csproj
More file actions
194 lines (176 loc) · 7.22 KB
/
Copy pathctrlC.csproj
File metadata and controls
194 lines (176 loc) · 7.22 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<LangVersion>9.0</LangVersion>
<Configurations>Debug;Release</Configurations>
<PublishConfigurationPath>Properties\PublishConfiguration.xml</PublishConfigurationPath>
</PropertyGroup>
<PropertyGroup>
<CSII_ToolPath Condition="'$(CSII_ToolPath)' == ''">
$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))
</CSII_ToolPath>
<ModPropsPath>$(CSII_ToolPath)\Mod.props</ModPropsPath>
<ModTargetsPath>$(CSII_ToolPath)\Mod.targets</ModTargetsPath>
</PropertyGroup>
<!-- Imports must be after PropertyGroup block -->
<Import Project="$(ModPropsPath)" Condition="Exists('$(ModPropsPath)')" />
<Import Project="$(ModTargetsPath)" Condition="Exists('$(ModTargetsPath)')" />
<PropertyGroup>
<CSII_ManagedPath Condition="'$(CSII_ManagedPath)' == ''">
$([System.Environment]::GetEnvironmentVariable('CSII_MANAGEDPATH', 'EnvironmentVariableTarget.User'))
</CSII_ManagedPath>
</PropertyGroup>
<Target Name="ValidatePaths" BeforeTargets="PrepareForBuild">
<Error Condition="'$(CSII_ManagedPath)' == ''" Text="CSII_ManagedPath is not set. Set env var CSII_MANAGEDPATH to your Cities2_Data\Managed folder, or build with -p:CSII_ManagedPath=..." />
<Error Condition="!Exists('$(CSII_ManagedPath)\Game.dll')" Text="CSII_ManagedPath points to '$(CSII_ManagedPath)' but Game.dll was not found. Expected Cities2_Data\Managed." />
<Error Condition="'$(CSII_ToolPath)' == ''" Text="CSII_ToolPath is not set. Set env var CSII_TOOLPATH to the folder that contains Mod.props and Mod.targets, or build with -p:CSII_ToolPath=..." />
<Error Condition="!Exists('$(ModPropsPath)') Or !Exists('$(ModTargetsPath)')" Text="CSII_ToolPath points to '$(CSII_ToolPath)' but Mod.props/Mod.targets were not found." />
</Target>
<ItemGroup>
<Reference Update="System">
<Private>False</Private>
</Reference>
<Reference Update="System.Core">
<Private>False</Private>
</Reference>
<Reference Update="System.Data">
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="$(ModPropsFile)" Link="Properties\Mod.props" />
<None Include="$(ModTargetsFile)" Link="Properties\Mod.targets" />
</ItemGroup>
<ItemGroup>
<Content Include=".BuildContent\IncludedAssets\**\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include=".BuildContent\Images\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="ctrlC_thumbnails\*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Reference Include="Colossal.AssetPipeline">
<HintPath>$(CSII_ManagedPath)\Colossal.AssetPipeline.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.Core">
<HintPath>$(CSII_ManagedPath)\Colossal.Core.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.IO">
<HintPath>$(CSII_ManagedPath)\Colossal.IO.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.IO.AssetDatabase">
<HintPath>$(CSII_ManagedPath)\Colossal.IO.AssetDatabase.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.Localization">
<HintPath>$(CSII_ManagedPath)\Colossal.Localization.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.Logging">
<HintPath>$(CSII_ManagedPath)\Colossal.Logging.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.Mathematics">
<HintPath>$(CSII_ManagedPath)\Colossal.Mathematics.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.PSI.Common">
<HintPath>$(CSII_ManagedPath)\Colossal.PSI.Common.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.UI">
<HintPath>$(CSII_ManagedPath)\Colossal.UI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Colossal.UI.Binding">
<HintPath>$(CSII_ManagedPath)\Colossal.UI.Binding.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Game">
<HintPath>$(CSII_ManagedPath)\Game.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.Burst">
<HintPath>$(CSII_ManagedPath)\Unity.Burst.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.Collections">
<HintPath>$(CSII_ManagedPath)\Unity.Collections.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.Entities">
<HintPath>$(CSII_ManagedPath)\Unity.Entities.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.InputSystem">
<HintPath>$(CSII_ManagedPath)\Unity.InputSystem.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Unity.Mathematics">
<HintPath>$(CSII_ManagedPath)\Unity.Mathematics.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(CSII_ManagedPath)\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(CSII_ManagedPath)\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>$(CSII_ManagedPath)\UnityEngine.ImageConversionModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.JSONSerializeModule">
<HintPath>$(CSII_ManagedPath)\UnityEngine.JSONSerializeModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestModule">
<HintPath>$(CSII_ManagedPath)\UnityEngine.UnityWebRequestModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestWWWModule">
<HintPath>$(CSII_ManagedPath)\UnityEngine.UnityWebRequestWWWModule.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="BuildUI" AfterTargets="AfterBuild">
<Exec Command="npm run build" WorkingDirectory="$(ProjectDir)/ctrlC-UI" />
</Target>
<ItemGroup>
<Reference Update="System.Drawing">
<Private>False</Private>
</Reference>
<Reference Update="System.IO.Compression.FileSystem">
<Private>False</Private>
</Reference>
<Reference Update="System.Numerics">
<Private>False</Private>
</Reference>
<Reference Update="System.Runtime.Serialization">
<Private>False</Private>
</Reference>
<Reference Update="System.Xml">
<Private>False</Private>
</Reference>
<Reference Update="System.Xml.Linq">
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Folder Include="ctrlC-UI\src\thumbnails\" />
</ItemGroup>
</Project>