forked from Rollocraft/CS2MultiplayerMod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCS2MPMod.Steam.csproj
More file actions
49 lines (42 loc) · 2.26 KB
/
Copy pathCS2MPMod.Steam.csproj
File metadata and controls
49 lines (42 loc) · 2.26 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
<Project Sdk="Microsoft.NET.Sdk">
<!--The Steam relay backend, kept out of the mod assembly on purpose.
The game resolves every assembly reference a mod declares before it will load it,
and Steamworks only ships with the Steam build of the game. A mod assembly that
names it is therefore refused outright on Microsoft Store / Game Pass copies -
"com.rlabrecque.steamworks.net" comes back as a missing dependency and nothing of
the mod runs. Nothing references this assembly at build time; the mod loads it by
hand where Steam exists (see SteamRelayBootstrap).-->
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<OutputType>Library</OutputType>
<TargetFramework>net48</TargetFramework>
<LangVersion>9.0</LangVersion>
<AssemblyName>CS2MPMod.Steam</AssemblyName>
<RootNamespace>CS2MPMod.Core.Networking.Steam</RootNamespace>
<!--Nothing here is part of the mod's own API surface.-->
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<!--This ships to players, so its symbols must not carry the build machine's paths.-->
<PropertyGroup>
<PathMap>$(MSBuildProjectDirectory)\=CS2MPMod.Steam\</PathMap>
<EnableSourceLink>false</EnableSourceLink>
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup>
<ManagedPath Condition="'$(ManagedPath)' == ''">$(CSII_MANAGEDPATH)</ManagedPath>
<ManagedPath Condition="'$(ManagedPath)' == ''">$([System.Environment]::GetEnvironmentVariable('CSII_MANAGEDPATH', 'EnvironmentVariableTarget.User'))</ManagedPath>
<AssemblySearchPaths>$(AssemblySearchPaths);$(ManagedPath)</AssemblySearchPaths>
</PropertyGroup>
<ItemGroup>
<!--A plain file reference rather than a ProjectReference: the mod's build is
what drives this project (its post-build target), and a project cycle would
make that impossible.-->
<Reference Include="CS2MPMod">
<HintPath>..\CS2MPMod\bin\$(Configuration)\net48\CS2MPMod.dll</HintPath>
<Private>false</Private>
</Reference>
<Reference Include="com.rlabrecque.steamworks.net">
<Private>false</Private>
</Reference>
</ItemGroup>
</Project>