Provides automatic installation scripts for OpenRA with Tiberian Sun & Red Alert 2 + Dune 2 (Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
4.9 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. --- a/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
  2. +++ b/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
  3. @@ -12,53 +12,64 @@
  4. <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
  5. <PlatformTarget>x86</PlatformTarget>
  6. </PropertyGroup>
  7. - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  8. + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  9. <DebugSymbols>True</DebugSymbols>
  10. <DebugType>Full</DebugType>
  11. <Optimize>False</Optimize>
  12. <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
  13. <DefineConstants>DEBUG;TRACE</DefineConstants>
  14. <OutputPath>bin\Debug\</OutputPath>
  15. + <PlatformTarget>x86</PlatformTarget>
  16. + <ErrorReport>prompt</ErrorReport>
  17. <CustomCommands>
  18. <CustomCommands>
  19. - <Command type="AfterBuild" command="cp ${TargetFile} .." workingdir="${ProjectDir}" />
  20. - <Command type="AfterBuild" command="cp ${TargetFile}.mdb .." workingdir="${ProjectDir}" />
  21. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/ra2" workingdir="${ProjectDir}" />
  22. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/ra2" workingdir="${ProjectDir}" />
  23. </CustomCommands>
  24. </CustomCommands>
  25. + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  26. + <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  27. </PropertyGroup>
  28. - <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  29. - <DebugSymbols>False</DebugSymbols>
  30. - <DebugType>None</DebugType>
  31. + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  32. + <DebugSymbols>True</DebugSymbols>
  33. + <DebugType>pdbonly</DebugType>
  34. <Optimize>True</Optimize>
  35. <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
  36. <DefineConstants>TRACE</DefineConstants>
  37. <OutputPath>bin\Release\</OutputPath>
  38. + <PlatformTarget>x86</PlatformTarget>
  39. + <ErrorReport>prompt</ErrorReport>
  40. <CustomCommands>
  41. <CustomCommands>
  42. - <Command type="AfterBuild" command="cp ${TargetFile} .." workingdir="${ProjectDir}" />
  43. - <Command type="AfterBuild" command="cp ${TargetFile}.mdb .." workingdir="${ProjectDir}" />
  44. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/ra2" workingdir="${ProjectDir}" />
  45. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/ra2" workingdir="${ProjectDir}" />
  46. </CustomCommands>
  47. </CustomCommands>
  48. + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  49. + <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  50. </PropertyGroup>
  51. <ItemGroup>
  52. + <Reference Include="System" />
  53. + <Reference Include="System.Core" />
  54. + <Reference Include="System.Drawing" />
  55. <Reference Include="Microsoft.CSharp" />
  56. <Reference Include="OpenRA.Game">
  57. - <HintPath>dependencies\OpenRA.Game.exe</HintPath>
  58. + <HintPath>..\OpenRA.Mods.RA\OpenRA.Game.exe</HintPath>
  59. </Reference>
  60. <Reference Include="OpenRA.Mods.Common">
  61. - <HintPath>dependencies\OpenRA.Mods.Common.dll</HintPath>
  62. + <HintPath>..\OpenRA.Mods.RA\OpenRA.Mods.Common.dll</HintPath>
  63. </Reference>
  64. <Reference Include="OpenRA.Mods.RA">
  65. - <HintPath>dependencies\OpenRA.Mods.RA.dll</HintPath>
  66. + <HintPath>..\OpenRA.Mods.RA\OpenRA.Mods.RA.dll</HintPath>
  67. </Reference>
  68. <Reference Include="OpenRA.Mods.TS">
  69. - <HintPath>dependencies\OpenRA.Mods.TS.dll</HintPath>
  70. + <HintPath>..\OpenRA.Mods.TS\OpenRA.Mods.TS.dll</HintPath>
  71. </Reference>
  72. <Reference Include="Eluant">
  73. - <HintPath>dependencies\Eluant.dll</HintPath>
  74. + <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
  75. </Reference>
  76. <Reference Include="Eluant">
  77. - <HintPath>dependencies\Eluant.dll</HintPath>
  78. + <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
  79. <Private>False</Private>
  80. </Reference>
  81. <Reference Include="System" />
  82. @@ -68,10 +79,27 @@
  83. </ItemGroup>
  84. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  85. <ItemGroup>
  86. + <ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
  87. + <Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
  88. + <Name>OpenRA.Game</Name>
  89. + <Private>False</Private>
  90. + </ProjectReference>
  91. + <ProjectReference Include="..\OpenRA.Mods.Common\OpenRA.Mods.Common.csproj">
  92. + <Project>{fe6c8cc0-2f07-442a-b29f-17617b3b7fc6}</Project>
  93. + <Name>OpenRA.Mods.Common</Name>
  94. + <Private>False</Private>
  95. + </ProjectReference>
  96. + </ItemGroup>
  97. + <ItemGroup>
  98. <Compile Include="Activities\ChronoResourceTeleport.cs" />
  99. <Compile Include="Traits\ChronoResourceDelivery.cs" />
  100. <Compile Include="Traits\Render\WithExitOverlay.cs" />
  101. <Compile Include="Traits\Render\WithSwimSuit.cs" />
  102. </ItemGroup>
  103. + <PropertyGroup>
  104. + <PostBuildEvent>mkdir "$(SolutionDir)mods/ra2/"
  105. +copy "$(TargetPath)" "$(SolutionDir)mods/ra2/"
  106. +cd "$(SolutionDir)"</PostBuildEvent>
  107. + </PropertyGroup>
  108. </Project>