-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInventoryFixMod.csproj
More file actions
93 lines (93 loc) · 4.93 KB
/
InventoryFixMod.csproj
File metadata and controls
93 lines (93 loc) · 4.93 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
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<TargetFramework>net48</TargetFramework>
<OutputPath>bin\Debug</OutputPath>
<ModName>InventoryFixMod</ModName>
<UserDir>$(HOMEDRIVE)$(HOMEPATH)</UserDir>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<LanguageTargets>$(MSBuildToolsPath)\Microsoft.CSharp.targets</LanguageTargets>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<MyStationeersDir>$(UserDir)\Documents\My Games\Stationeers\</MyStationeersDir>
<ModOutputPath>$(MyStationeersDir)mods\$(ModName)\</ModOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Import Project="$(SolutionDir)$(ModName).VS.props" />
<ItemGroup>
<Reference Include="Assembly-CSharp">
<HintPath>$(StationeersDirectory)\rocketstation_Data\Managed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(StationeersDirectory)\rocketstation_Data\Managed\UnityEngine.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(StationeersDirectory)\rocketstation_Data\Managed\UnityEngine.CoreModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>$(StationeersDirectory)\rocketstation_Data\Managed\UnityEngine.PhysicsModule.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>$(StationeersDirectory)\rocketstation_Data\Managed\UnityEngine.UI.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="0Harmony">
<HintPath>$(StationeersDirectory)\BepInEx\core\0Harmony.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx">
<HintPath>$(StationeersDirectory)\BepInEx\core\BepInEx.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="StationeersMods.Interface">
<HintPath>$(StationeersDirectory)\BepInEx\plugins\StationeersLaunchPad\StationeersMods.Interface.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<Target Name="CopyToMods" AfterTargets="Build">
<ItemGroup>
<GameDataItems Include="$(ProjectDir)\GameData\**\*.*">
<DestFolder>GameData\%(RecursiveDir)</DestFolder>
</GameDataItems>
<AboutItems Include="$(ProjectDir)\About\**\*.*">
<DestFolder>About\%(RecursiveDir)</DestFolder>
</AboutItems>
<AssemblyFile Include="$(OutputPath)\$(ModName).dll" />
<PdbFile Include="$(OutputPath)\$(ModName).pdb" Condition=" '$(Configuration)' == 'Debug' " />
<BaseAllCopyItems Include="@(GameDataItems);@(AboutItems);@(AssemblyFile);@(PdbFile)" />
<AllCopyHasFolder Include="@(BaseAllCopyItems->HasMetadata('DestFolder'))" />
<AllCopyNoFolder Include="@(BaseAllCopyItems)" Exclude="@(AllCopyHasFolder)">
<DestFolder></DestFolder>
</AllCopyNoFolder>
<AllCopyItems Include="@(AllCopyHasFolder);@(AllCopyNoFolder)">
<Dest>$(ModOutputPath)%(DestFolder)%(FileName)%(Extension)</Dest>
<PrettySrc>$([System.String]::Copy('%(FullPath)').Replace('$(ProjectDir)', ''))</PrettySrc>
<PrettyDest>$([System.String]::Copy('%(AllCopyItems.Dest)').Replace('$(MyStationeersDir)', ''))</PrettyDest>
</AllCopyItems>
</ItemGroup>
<RemoveDir Directories="$(ModOutputPath)" />
<Message Text="%(AllCopyItems.PrettySrc) -> %(AllCopyItems.PrettyDest)" Importance="high" />
<Copy SourceFiles="%(AllCopyItems.FullPath)" DestinationFiles="%(AllCopyItems.Dest)" />
</Target>
</Project>