135 lines
5.7 KiB
XML
135 lines
5.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>9.0.30729</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{2881135D-4D62-493E-8F83-5EEE92CCC6BE}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>OpenRA.Mods.Cnc</RootNamespace>
|
|
<AssemblyName>OpenRA.Mods.Cnc</AssemblyName>
|
|
<FileAlignment>512</FileAlignment>
|
|
<FileUpgradeFlags>
|
|
</FileUpgradeFlags>
|
|
<OldToolsVersion>3.5</OldToolsVersion>
|
|
<UpgradeBackupLocation />
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="Eluant">
|
|
<HintPath>..\thirdparty\download\Eluant.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="CncLoadScreen.cs" />
|
|
<Compile Include="Traits\AttackPopupTurreted.cs" />
|
|
<Compile Include="Traits\Buildings\ProductionAirdrop.cs" />
|
|
<Compile Include="Traits\Render\WithGunboatBody.cs" />
|
|
<Compile Include="Traits\Render\WithCargo.cs" />
|
|
<Compile Include="Traits\Render\WithDeliveryAnimation.cs" />
|
|
<Compile Include="Traits\Render\WithReloadingSpriteTurret.cs" />
|
|
<Compile Include="Traits\Render\WithRoof.cs" />
|
|
<Compile Include="Traits\SupportPowers\IonCannonPower.cs" />
|
|
<Compile Include="Widgets\Logic\ProductionTabsLogic.cs" />
|
|
<Compile Include="ImportTiberianDawnLegacyMapCommand.cs" />
|
|
<Compile Include="Projectiles\IonCannon.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
|
<Project>{0DFB103F-2962-400F-8C6D-E2C28CCBA633}</Project>
|
|
<Name>OpenRA.Game</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\OpenRA.Mods.Common\OpenRA.Mods.Common.csproj">
|
|
<Project>{FE6C8CC0-2F07-442A-B29F-17617B3B7FC6}</Project>
|
|
<Name>OpenRA.Mods.Common</Name>
|
|
<Private>False</Private>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 3.1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<Target Name="AfterBuild">
|
|
<MakeDir Directories="$(SolutionDir)mods/cnc/"/>
|
|
<Copy
|
|
SourceFiles="$(TargetPath)"
|
|
DestinationFolder="$(SolutionDir)mods/cnc/"/>
|
|
<!--
|
|
We need to copy OpenRA.Mods.Cnc.pdb (not `.dll.pdb`). This is only necessary on Windows.
|
|
Mono outputs a `.dll.mdb` so we can just append `.mdb` directly.
|
|
-->
|
|
<Copy
|
|
SourceFiles="$(TargetDir)$(TargetName).pdb"
|
|
DestinationFolder="$(SolutionDir)mods/cnc/"
|
|
Condition="'$(OS)' == 'Windows_NT'"/>
|
|
<Copy
|
|
SourceFiles="$(TargetPath).mdb"
|
|
DestinationFolder="$(SolutionDir)mods/cnc/"
|
|
Condition="'$(OS)' == 'Unix'"/>
|
|
<!-- Uncomment these lines when debugging or adding to this target
|
|
<Message Text="DEBUG OS: $(OS)"/>
|
|
<Message Text="DEBUG SolutionDir: $(SolutionDir)"/>
|
|
<Message Text="DEBUG TargetPath: $(TargetPath)"/>
|
|
<Message Text="DEBUG TargetDir: $(TargetDir)"/>
|
|
<Message Text="DEBUG TargetName: $(TargetName)"/>
|
|
-->
|
|
</Target>
|
|
</Project>
|