-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPerformanceMonitor.csproj
119 lines (105 loc) · 4.09 KB
/
PerformanceMonitor.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
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net472</TargetFramework>
<Configurations>Debug;Release</Configurations>
<!--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></CustomManagedPath>
<!--Path to the text file where PDX account data is stored which is required to publish the mod-->
<!--Keep it outside of project in order to not commit it or share accidentally-->
<!--The file should contain 2 lines:-->
<!--Your.PDX@Account.login-->
<!--Your-PDX-Account-Pa$$word-->
<PDXAccountDataPath>$(USERPROFILE)\Documents\Visual Studio Projects\Cities Skylines 2 Mods\My Mods\pdx_account.txt</PDXAccountDataPath>
<!--The file where mod information which is required for publishing mod on PDX mods are stored-->
<PublishConfigurationPath>Properties\PublishConfiguration.xml</PublishConfigurationPath>
<Title>Performance Monitor</Title>
<AssemblyTitle>$(Title)</AssemblyTitle>
<Version>1.0.2</Version>
<Description>Monitor your computer's performance data.</Description>
<Copyright>Copyright © 2024</Copyright>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<DefaultItemExcludes>UI\node_modules\**;$(DefaultItemExcludes)</DefaultItemExcludes>
</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="Colossal.IO.AssetDatabase">
<Private>False</Private>
</Reference>
<Reference Include="Game">
<Private>false</Private>
</Reference>
<Reference Include="Colossal.Core">
<Private>false</Private>
</Reference>
<Reference Include="Colossal.Logging">
<Private>false</Private>
</Reference>
<Reference Include="Colossal.UI">
<Private>false</Private>
</Reference>
<Reference Include="Colossal.UI.Binding">
<Private>false</Private>
</Reference>
<Reference Include="Colossal.Localization">
<Private>false</Private>
</Reference>
<Reference Include="Unity.InputSystem">
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<Private>false</Private>
</Reference>
<Reference Include="Unity.Burst">
<Private>false</Private>
</Reference>
<Reference Include="Unity.Collections">
<Private>false</Private>
</Reference>
<Reference Include="Unity.Entities">
<Private>false</Private>
</Reference>
<Reference Include="Unity.Mathematics">
<Private>false</Private>
</Reference>
</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>
<ItemGroup>
<EmbeddedResource Include="Localization\Translation.csv" />
</ItemGroup>
<!-- Automatically build ModAssemblyInfo.cs file. -->
<Import Project="ModAssemblyInfo\ModAssemblyInfo.csproj" />
<ItemGroup>
<None Include="ModAssemblyInfo\ModAssemblyInfo.csproj" />
</ItemGroup>
<!-- Automatically build mod.json file. -->
<Import Project="UI\mod.json.csproj" />
<ItemGroup>
<None Include="UI\mod.json.csproj" />
</ItemGroup>
<!-- Automatically build PublishConfiguration.xml file. -->
<Import Project="Properties\PublishConfiguration.csproj" />
<ItemGroup>
<None Include="Properties\PublishConfiguration.csproj" />
</ItemGroup>
<!-- Automatically build the UI with the project. -->
<Target Name="BuildUI" AfterTargets="AfterBuild">
<Exec Command="npm run build" WorkingDirectory="$(ProjectDir)/UI" />
</Target>
</Project>