-
Notifications
You must be signed in to change notification settings - Fork 0
/
SODPresence.csproj
47 lines (40 loc) · 2.06 KB
/
SODPresence.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>SODPresence</AssemblyName>
<Description>My first plugin</Description>
<Version>1.0.0</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>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.*" IncludeAssets="compile" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.*" />
<PackageReference Include="DiscordRichPresence" Version="1.1.4.20" />
</ItemGroup>
<PropertyGroup>
<BepInExPath>E:\Modding\r2modman-data\ShadowsofDoubt\profiles\Dev\BepInEx\</BepInExPath>
<SODPath>D:\Steam Games\steamapps\common\Shadows of Doubt\</SODPath>
<ProjectPath>$(BepInExPath)\plugins\\AWildErin-$(AssemblyName)\</ProjectPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>portable</DebugType>
</PropertyGroup>
<ItemGroup>
<Reference Include="$(BepInExPath)/interop/*.dll" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist "$(ProjectPath)" md "$(ProjectPath)"" />
<Exec Command="copy /Y "$(TargetDir)$(TargetName).*" "$(ProjectPath)"" />
<Exec Command="copy /Y "$(ProjectDir)ModFolderContent\*" "$(ProjectPath)"" />
<Exec Command="if exist "$(ProjectDir)\README.md" copy /Y "$(ProjectDir)\README.md" "$(ProjectPath)"" />
</Target>
</Project>