-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGooberHelper.csproj
44 lines (37 loc) · 1.7 KB
/
GooberHelper.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<AssemblyName>GooberHelper</AssemblyName>
<RootNamespace>Celeste.Mod.GooberHelper</RootNamespace>
<LangVersion>latest</LangVersion>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\Celeste.dll')">..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == '' And Exists('..\..\..\Celeste.dll')">..\..\..</CelestePrefix>
<CelestePrefix Condition="'$(CelestePrefix)' == ''">lib-stripped</CelestePrefix>
</PropertyGroup>
<!--Disable "Copy Local" for all references-->
<ItemDefinitionGroup>
<PackageReference PrivateAssets="all" ExcludeAssets="runtime" />
<Reference Private="false" />
</ItemDefinitionGroup>
<ItemGroup>
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.01.04.03" PrivateAssets="all" ExcludeAssets="runtime" />
</ItemGroup>
<ItemGroup>
<Reference Include="$(CelestePrefix)\Celeste.dll">
<Private>false</Private>
</Reference>
<Reference Include="$(CelestePrefix)\MMHOOK_Celeste.dll">
<Private>false</Private>
</Reference>
<Reference Include="$(CelestePrefix)\FNA.dll">
<Private>false</Private>
</Reference>
</ItemGroup>
<Target Name="CopyFiles" AfterTargets="Build">
<Copy SourceFiles="$(OutputPath)\$(AssemblyName).dll" DestinationFolder="bin" />
<Copy SourceFiles="$(OutputPath)\$(AssemblyName).pdb" DestinationFolder="bin" />
</Target>
<PropertyGroup>
<PathMap>$(MSBuildProjectDirectory)=GooberHelper/</PathMap>
</PropertyGroup>
</Project>