generated from Raicuparta/ow-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathOWRichPresence.csproj
54 lines (54 loc) · 3.32 KB
/
OWRichPresence.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
48
49
50
51
52
53
54
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<LangVersion>default</LangVersion>
<Copyright>Copyright © 2020</Copyright>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<ProjectView>ProjectFiles</ProjectView>
<OuterWildsModsDirectory>$(AppData)\OuterWildsModManager\OWML\Mods</OuterWildsModsDirectory>
<Authors>MegaPiggy</Authors>
<AssemblyTitle>$(ProjectName)</AssemblyTitle>
<Product>$(ProjectName)</Product>
<OutputPath>Build</OutputPath>
<ModName>$(Authors).$(MSBuildProjectName)</ModName>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<UserSecretsId>d1ead890-2ebb-430f-8aa7-c11d74d992c0</UserSecretsId>
<DebugType>portable</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" />
<PackageReference Include="OWML" Version="2.9.8" />
<PackageReference Include="OuterWildsGameLibs" Version="1.1.14.768" />
</ItemGroup>
<ItemGroup>
<None Include="default-config.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="manifest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="Lib\DiscordRPC.pdb">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Lib\DiscordRPC.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Lib\NativeNamedPipe.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Lib\NativeNamedPipe.so">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Langs\" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="echo 
echo Transferring files to $(OuterWildsModsDirectory)\$(ModName)
@rmdir /Q /S "$(OuterWildsModsDirectory)\$(ModName)\"
@md "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)default-config.json" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)manifest.json" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)\Lib\DiscordRPC.dll" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)\Lib\DiscordRPC.pdb" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)\Lib\DiscordRPC.xml" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)\Lib\NativeNamedPipe.dll" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(ProjectDir)\Lib\NativeNamedPipe.so" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(TargetDir)$(TargetName).pdb" "$(OuterWildsModsDirectory)\$(ModName)\"
@copy /y "$(TargetPath)" "$(OuterWildsModsDirectory)\$(ModName)\"
echo " />
</Target>
</Project>