-
-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathOTAPI.Server.Launcher.csproj
More file actions
102 lines (91 loc) · 4.69 KB
/
OTAPI.Server.Launcher.csproj
File metadata and controls
102 lines (91 loc) · 4.69 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
94
95
96
97
98
99
100
101
102
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<Compile Remove="csharp\plugins\modules\otapi\Example.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ModFramework" Version="1.1.14">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</PackageReference>
<PackageReference Include="ModFramework.Modules.ClearScript" Version="1.1.14" />
<PackageReference Include="ModFramework.Modules.CSharp" Version="1.1.14" />
<PackageReference Include="ModFramework.Modules.Lua" Version="1.1.14" />
<PackageReference Include="Steamworks.NET" Version="2024.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="9.0.2" />
<PackageReference Include="System.Drawing.Common" Version="9.0.2" />
<PackageReference Include="System.IO.Packaging" Version="9.0.2" />
<PackageReference Include="System.Security.Permissions" Version="9.0.4" />
<PackageReference Include="Mono.Cecil" Version="0.11.6" />
<PackageReference Include="MonoMod" Version="22.7.31.1">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</PackageReference>
<PackageReference Include="MonoMod.RuntimeDetour" Version="25.2.3">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Reference Include="OTAPI">
<HintPath>..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\OTAPI.dll</HintPath>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</Reference>
<Reference Include="OTAPI.Runtime">
<HintPath>..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\OTAPI.Runtime.dll</HintPath>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
</Reference>
</ItemGroup>
<Import Condition="Exists('..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\AutoGenerated.target')" Project="..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\AutoGenerated.target" />
<ItemGroup>
<ProjectReference Include="..\examples\RuntimeExample.Server\RuntimeExample.Server.csproj" />
</ItemGroup>
<ItemGroup Condition="Exists('..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\tModLoader')">
<Content Include="..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\tModLoader\**\*.*">
<Link>tModLoader\%(RecursiveDir)%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<PropertyGroup Condition="Exists('..\OTAPI.Patcher\bin\$(Configuration)\$(TargetFramework)\tModLoader')">
<DefineConstants>$(DefineConstants);TML</DefineConstants>
</PropertyGroup>
<ItemGroup>
<Folder Include="lua\" />
</ItemGroup>
<ItemGroup>
<None Include="csharp\plugins\modules\otapi\example\Example.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="csharp\Metadata.refs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="csharp\modifications\Metadata.refs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="lua\test.lua">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="csharp\plugins\Metadata.refs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="clearscript\test.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Compile Condition=" '$(EnableDefaultCompileItems)' == 'true' " Update="csharp\plugins\modules\example\Example.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Compile>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<MakeDir Directories="$(TargetDir)modifications\" />
<Copy SourceFiles="$(TargetDir)ModFramework.Modules.CSharp.dll" DestinationFolder="$(TargetDir)modifications" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(TargetDir)ModFramework.Modules.Lua.dll" DestinationFolder="$(TargetDir)modifications" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(TargetDir)ModFramework.Modules.ClearScript.dll" DestinationFolder="$(TargetDir)modifications" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(TargetDir)RuntimeExample.Server.dll" DestinationFolder="$(TargetDir)modifications" SkipUnchangedFiles="false" />
<Copy SourceFiles="$(TargetDir)RuntimeExample.Server.pdb" DestinationFolder="$(TargetDir)modifications" SkipUnchangedFiles="false" />
</Target>
</Project>