Create a single solution platform named x86. Ensure both Debug and Release configs build to the root for all projects. Ensure all Release configs generate pdbs.
71 lines
2.9 KiB
XML
71 lines
2.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>10.0.0</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{5457CBF5-4CE4-421E-A8BF-9FD6C9732E1D}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>OpenRA.Mods.TS</RootNamespace>
|
|
<AssemblyName>OpenRA.Mods.TS</AssemblyName>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>..\</OutputPath>
|
|
<DefineConstants>TRACE;DEBUG;</DefineConstants>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CustomCommands>
|
|
<CustomCommands>
|
|
<Command type="AfterBuild" command="cp ${TargetFile} ../mods/ts" workingdir="${ProjectDir}" />
|
|
</CustomCommands>
|
|
</CustomCommands>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<DebugType>full</DebugType>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\</OutputPath>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<DebugType>pdbonly</DebugType>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="Eluant">
|
|
<HintPath>..\thirdparty\Eluant.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\OpenRA.Mods.RA\OpenRA.Mods.RA.csproj">
|
|
<Project>{4A8A43B5-A9EF-4ED0-99DD-4BAB10A0DB6E}</Project>
|
|
<Name>OpenRA.Mods.RA</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
|
<Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
|
|
<Name>OpenRA.Game</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Widgets\Logic\TSInstallFromCDLogic.cs" />
|
|
</ItemGroup>
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
<PropertyGroup>
|
|
<PostBuildEvent>mkdir "$(SolutionDir)mods/ts/"
|
|
copy "$(TargetPath)" "$(SolutionDir)mods/ts/"
|
|
cd "$(SolutionDir)"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
</Project> |