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.

97 lines
4.4 KiB

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