-
Notifications
You must be signed in to change notification settings - Fork 1
/
ExtraAssetsImporter.csproj
61 lines (50 loc) · 2.61 KB
/
ExtraAssetsImporter.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
<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>C:\Program Files (x86)\Steam\steamapps\common\Cities Skylines II\Cities2_Data\Managed</CustomManagedPath>
<CustomManagedPath>E:\SteamLibrary\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>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="embedded\**\*.*" />
</ItemGroup>
<!--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="$(CustomManagedPath)\PDX.*.dll" Private="False" />
<Reference Include="$(UserDataPath)\.cache\Mods\mods_subscribed\75724_*\ExtraLib.dll" Private="False" />
<!--<Reference Include="$(LocalModsPath)\ExtraLib\ExtraLib.dll" Private="False" />-->
</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>