forked from Mimonsi/CS2-ZoneOrganizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZoneOrganizer.csproj
63 lines (52 loc) · 2.69 KB
/
ZoneOrganizer.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<Configurations>Debug;Release</Configurations>
<langVersion>latest</langVersion>
<!--The folder where Game.dll is located. Set it only if the game is not installed in the default location, otherwise keep it empty-->
<CustomManagedPath>D:\Games\steamapps\common\Cities Skylines II\Cities2_Data\Managed</CustomManagedPath>
<AdditionalFilesDirectory>Resources</AdditionalFilesDirectory>
<!--The file where mod information which is required for publishing mod on PDX mods are stored-->
<PublishConfigurationPath>Properties\PublishConfiguration.xml</PublishConfigurationPath>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
</PropertyGroup>
<!--Imports must be after PropertyGroup block-->
<Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.props" />
<Import Project="$([System.Environment]::GetEnvironmentVariable('CSII_TOOLPATH', 'EnvironmentVariableTarget.User'))\Mod.targets" />
<ItemGroup>
<Reference Include="$(CustomManagedPath)\Colossal.*.dll" Private="False" />
<Reference Include="$(CustomManagedPath)\Game*.dll" Private="False" />
<Reference Include="$(CustomManagedPath)\Unity.*.dll" Private="False" />
<Reference Include="$(CustomManagedPath)\cohtml.Net.dll" Private="False" />
<Reference Include="$(LocalModsPath)\ExtraLib\ExtraLib.dll" Private="False" />
<!--<Reference Include="$(LocalModsPath)\I18NEverywhere\I18NEverywhere.dll" Private="False" />-->
<!--<Reference Include="$(UserDataPath)\.cache\Mods\mods_subscribed\75724_*\ExtraLib.dll" Private="False" />-->
</ItemGroup>
<ItemGroup>
<PackageReference Include="Lib.Harmony" Version="2.2.2" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.7" IncludeAssets="compile" />
</ItemGroup>
<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>
<Target Name="GetAdditionalFiles" AfterTargets="DeployWIP">
<ItemGroup>
<AdditionalFilesToDeploy Include="$(AdditionalFilesDirectory)\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(AdditionalFilesToDeploy)" DestinationFiles="@(AdditionalFilesToDeploy->'$(DeployDir)\%(RecursiveDir)%(Filename)%(Extension)')" />
</Target>
</Project>