generated from Raicuparta/ow-mod-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SplashScreenSkip.csproj
36 lines (36 loc) · 1.98 KB
/
SplashScreenSkip.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
<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>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="OWML" Version="2.3.2.1" />
<PackageReference Include="OuterWildsGameLibs" Version="1.1.12.168" />
</ItemGroup>
<ItemGroup>
<None Include="default-config.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="manifest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</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 "$(TargetPath)" "$(OuterWildsModsDirectory)\$(ModName)\"
echo " />
</Target>
</Project>