-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMioHotkeyMod.csproj
63 lines (60 loc) · 2.95 KB
/
MioHotkeyMod.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>
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>MioHotkeyMod</AssemblyName>
<RootNamespace>MioHotkeyMod</RootNamespace>
<Description>more Hotkeys</Description>
<Version>0.1.2</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<RestoreAdditionalProjectSources>
https://api.nuget.org/v3/index.json;
https://nuget.bepinex.dev/v3/index.json;
https://nuget.samboy.dev/v3/index.json
</RestoreAdditionalProjectSources>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<NoWarn>MSB3277</NoWarn>
</PropertyGroup>
<PropertyGroup>
<Cities2_Location>D:\APPS\Steam\steamapps\common\Cities Skylines II</Cities2_Location>
</PropertyGroup>
<ItemGroup>
<Reference Include="$(Cities2_Location)\Cities2_Data\Managed\Colossal.*.dll" Private="False"/>
<Reference Include="$(Cities2_Location)\Cities2_Data\Managed\Game.dll" Private="False"/>
<Reference Include="$(Cities2_Location)\Cities2_Data\Managed\Unity.*.dll" Private="False"/>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="dist/bundle.js" />
</ItemGroup>
<ItemGroup>
<Reference Include="libcs2/Colossal.*.dll" Private="False"/>
<Reference Include="libcs2/Game.dll" Private="False"/>
<Reference Include="libcs2/Unity.*.dll" Private="False"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.0.0" />
<PackageReference Include="HarmonyX" Version="2.10.2"></PackageReference>
<PackageReference Include="UnityEngine.Modules" Version="2022.3.7" IncludeAssets="compile" />
<PackageReference Include="HookUILib" Version="0.1.0" />
</ItemGroup>
<PropertyGroup>
<BepInExVersion Condition="'$(BepInExVersion)' == ''">5</BepInExVersion>
</PropertyGroup>
<ItemGroup Condition="'$(BepInExVersion)' == '6'">
<PackageReference Include="BepInEx.Unity.Mono" Version="6.0.0-be.*" />
</ItemGroup>
<ItemGroup Condition="'$(BepInExVersion)' == '5'">
<PackageReference Include="BepInEx.Core" Version="5.4.21" IncludeAssets="compile"/>
</ItemGroup>
<PropertyGroup Condition="'$(BepInExVersion)' == '6'">
<DefineConstants>$(DefineConstants);BEPINEX_V6</DefineConstants>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2"
PrivateAssets="all" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CI)' != 'true'">
<Exec
Command="if not exist "$(Cities2_Location)\BepInEx\plugins\$(ProjectName)" mkdir "$(Cities2_Location)\BepInEx\plugins\$(ProjectName)"
copy /Y "$(TargetDir)0Harmony.dll" "$(Cities2_Location)\BepInEx\plugins\$(ProjectName)\0Harmony.dll"
copy /Y "$(TargetDir)$(ProjectName).dll" "$(Cities2_Location)\BepInEx\plugins\$(ProjectName)\$(ProjectName).dll"" />
</Target>
</Project>