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.

110 lines
4.6 KiB

  1. --- a/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
  2. +++ b/OpenRA.Mods.RA2/OpenRA.Mods.RA2.csproj
  3. @@ -1,33 +1,74 @@
  4. <?xml version="1.0" encoding="utf-8"?>
  5. -<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
  6. +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  7. <PropertyGroup>
  8. - <ProjectGuid>{7E1263D2-BA04-48D0-85DB-26C68B782608}</ProjectGuid>
  9. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  10. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  11. + <ProductVersion>10.0.0</ProductVersion>
  12. + <SchemaVersion>2.0</SchemaVersion>
  13. + <ProjectGuid>{7E1263D2-BA04-48D0-85DB-26C68B782608}</ProjectGuid>
  14. <OutputType>Library</OutputType>
  15. <RootNamespace>OpenRA.Mods.RA2</RootNamespace>
  16. <AssemblyName>OpenRA.Mods.RA2</AssemblyName>
  17. - <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
  18. - <OutputPath>..</OutputPath>
  19. </PropertyGroup>
  20. - <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
  21. + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  22. + <DebugSymbols>true</DebugSymbols>
  23. + <OutputPath>bin\Debug\</OutputPath>
  24. + <DefineConstants>TRACE;DEBUG</DefineConstants>
  25. <PlatformTarget>x86</PlatformTarget>
  26. + <ErrorReport>prompt</ErrorReport>
  27. + <CustomCommands>
  28. + <CustomCommands>
  29. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/ra2" workingdir="${ProjectDir}" />
  30. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/ra2" workingdir="${ProjectDir}" />
  31. + </CustomCommands>
  32. + </CustomCommands>
  33. + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  34. + <DebugType>full</DebugType>
  35. + <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  36. </PropertyGroup>
  37. - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  38. - <DebugSymbols>True</DebugSymbols>
  39. - <DebugType>Full</DebugType>
  40. - <Optimize>False</Optimize>
  41. - <CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
  42. - <DefineConstants>DEBUG;TRACE</DefineConstants>
  43. - </PropertyGroup>
  44. - <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  45. - <DebugSymbols>False</DebugSymbols>
  46. - <DebugType>None</DebugType>
  47. - <Optimize>True</Optimize>
  48. - <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
  49. + <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  50. + <DebugSymbols>true</DebugSymbols>
  51. + <OutputPath>bin\Release\</OutputPath>
  52. <DefineConstants>TRACE</DefineConstants>
  53. + <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  54. + <DebugType>pdbonly</DebugType>
  55. + <PlatformTarget>x86</PlatformTarget>
  56. + <ErrorReport>prompt</ErrorReport>
  57. + <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
  58. + <Optimize>true</Optimize>
  59. + <CustomCommands>
  60. + <CustomCommands>
  61. + <Command type="AfterBuild" command="cp ${TargetFile} ../mods/ra2" workingdir="${ProjectDir}" />
  62. + <Command type="AfterBuild" command="cp ${TargetFile}.mdb ../mods/ra2" workingdir="${ProjectDir}" />
  63. + </CustomCommands>
  64. + </CustomCommands>
  65. </PropertyGroup>
  66. <ItemGroup>
  67. + <Reference Include="System" />
  68. + <Reference Include="System.Core" />
  69. + <Reference Include="System.Drawing" />
  70. + <Reference Include="Eluant">
  71. + <HintPath>..\thirdparty\download\Eluant.dll</HintPath>
  72. + <Private>False</Private>
  73. + </Reference>
  74. + </ItemGroup>
  75. + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  76. + <ItemGroup>
  77. + <ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
  78. + <Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
  79. + <Name>OpenRA.Game</Name>
  80. + <Private>False</Private>
  81. + </ProjectReference>
  82. + <ProjectReference Include="..\OpenRA.Mods.Common\OpenRA.Mods.Common.csproj">
  83. + <Project>{fe6c8cc0-2f07-442a-b29f-17617b3b7fc6}</Project>
  84. + <Name>OpenRA.Mods.Common</Name>
  85. + <Private>False</Private>
  86. + </ProjectReference>
  87. + </ItemGroup>
  88. + <ItemGroup>
  89. + <Compile Include="Stub.cs" />
  90. + </ItemGroup>
  91. + <ItemGroup>
  92. <Reference Include="Microsoft.CSharp">
  93. <RequiredTargetFramework>4.0</RequiredTargetFramework>
  94. </Reference>
  95. @@ -52,8 +93,9 @@
  96. <RequiredTargetFramework>3.5</RequiredTargetFramework>
  97. </Reference>
  98. </ItemGroup>
  99. - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  100. - <ItemGroup>
  101. - <Compile Include="Stub.cs" />
  102. - </ItemGroup>
  103. -</Project>
  104. + <PropertyGroup>
  105. + <PostBuildEvent>mkdir "$(SolutionDir)mods/ra2/"
  106. +copy "$(TargetPath)" "$(SolutionDir)mods/ra2/"
  107. +cd "$(SolutionDir)"</PostBuildEvent>
  108. + </PropertyGroup>
  109. +</Project>
  110. \ No newline at end of file