Simplified build paths

This commit is contained in:
Ricardo Lopes 2020-02-13 19:58:49 +01:00
parent 661f9a5611
commit bcfa41b26b
2 changed files with 13 additions and 10 deletions

View File

@ -7,8 +7,8 @@
<ProjectGuid>{1F00090A-C697-4C55-B401-192F3CFB9DC2}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FriendsInSpace</RootNamespace>
<AssemblyName>FriendsInSpace</AssemblyName>
<RootNamespace>QSB</RootNamespace>
<AssemblyName>QSB</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
@ -90,16 +90,16 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>md "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies"
md "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\assets"
del "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\config.json"
<PostBuildEvent>md "$(StartWorkingDirectory)"
md "$(StartWorkingDirectory)\assets"
del "$(StartWorkingDirectory)\config.json"
copy /y "$(TargetPath)" "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\QuantumSpaceBuddies.dll"
copy /y "$(TargetPath)" "$(StartWorkingDirectory)"
copy /y "$(ProjectDir)\default-config.json" "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\default-config.json"
copy /y "$(ProjectDir)\default-config.json" "$(StartWorkingDirectory)"
copy /y "$(ProjectDir)\manifest.json" "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\manifest.json"
copy /y "$(ProjectDir)\manifest.json" "$(StartWorkingDirectory)"
copy /y "$(ProjectDir)\Assets\*" "$(StartWorkingDirectory)\Mods\QuantumSpaceBuddies\Assets"</PostBuildEvent>
copy /y "$(ProjectDir)\Assets" "$(StartWorkingDirectory)"</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@ -1,9 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartWorkingDirectory>C:\Program Files\Epic Games\OuterWilds\OWML</StartWorkingDirectory>
<StartWorkingDirectory>C:\Program Files\Epic Games\OuterWilds\OWML\Mods\QuantumSpaceBuddies</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<StartWorkingDirectory>C:\Program Files\Epic Games\OuterWilds\OWML\Mods\QuantumSpaceBuddies</StartWorkingDirectory>
</PropertyGroup>
</Project>