Browse Source

Fix again for Windows

master
Fincer 8 years ago
parent
commit
9535d390c1
1 changed files with 28 additions and 7 deletions
  1. +28
    -7
      data/patches/windows/windows-ra2-csproj.patch

+ 28
- 7
data/patches/windows/windows-ra2-csproj.patch View File

@ -1,6 +1,6 @@
--- a/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj --- a/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
+++ b/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj +++ b/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
@@ -12,35 +12,50 @@
@@ -12,53 +12,64 @@
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' "> <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<PlatformTarget>x86</PlatformTarget> <PlatformTarget>x86</PlatformTarget>
</PropertyGroup> </PropertyGroup>
@ -52,14 +52,34 @@
+ <Reference Include="System" /> + <Reference Include="System" />
+ <Reference Include="System.Core" /> + <Reference Include="System.Core" />
+ <Reference Include="System.Drawing" /> + <Reference Include="System.Drawing" />
+ <Reference Include="Eluant">
+ <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
+ <Private>False</Private>
+ </Reference>
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="OpenRA.Game"> <Reference Include="OpenRA.Game">
<HintPath>dependencies\OpenRA.Game.exe</HintPath>
@@ -68,9 +83,26 @@
- <HintPath>dependencies\OpenRA.Game.exe</HintPath>
+ <HintPath>..\OpenRA.Mods.RA\OpenRA.Game.exe</HintPath>
</Reference>
<Reference Include="OpenRA.Mods.Common">
- <HintPath>dependencies\OpenRA.Mods.Common.dll</HintPath>
+ <HintPath>..\OpenRA.Mods.RA\OpenRA.Mods.Common.dll</HintPath>
</Reference>
<Reference Include="OpenRA.Mods.RA">
- <HintPath>dependencies\OpenRA.Mods.RA.dll</HintPath>
+ <HintPath>..\OpenRA.Mods.RA\OpenRA.Mods.RA.dll</HintPath>
</Reference>
<Reference Include="OpenRA.Mods.TS">
- <HintPath>dependencies\OpenRA.Mods.TS.dll</HintPath>
+ <HintPath>..\OpenRA.Mods.TS\OpenRA.Mods.TS.dll</HintPath>
</Reference>
<Reference Include="Eluant">
- <HintPath>dependencies\Eluant.dll</HintPath>
+ <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
</Reference>
<Reference Include="Eluant">
- <HintPath>dependencies\Eluant.dll</HintPath>
+ <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System" />
@@ -68,10 +79,27 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup> <ItemGroup>
@ -86,3 +106,4 @@
+cd "$(SolutionDir)"</PostBuildEvent> +cd "$(SolutionDir)"</PostBuildEvent>
+ </PropertyGroup> + </PropertyGroup>
</Project> </Project>

Loading…
Cancel
Save