GameLogic.csproj 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{E6E5FC8E-8B94-4F1E-91BB-750B40ACB96E}</ProjectGuid>
  8. <OutputType>Exe</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>HttpServer</RootNamespace>
  11. <AssemblyName>GameLogic</AssemblyName>
  12. <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <TargetFrameworkProfile />
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  17. <PlatformTarget>x64</PlatformTarget>
  18. <Prefer32Bit>false</Prefer32Bit>
  19. <DebugSymbols>true</DebugSymbols>
  20. <DebugType>portable</DebugType>
  21. <Optimize>false</Optimize>
  22. <OutputPath>..\_output.battle.server\\</OutputPath>
  23. <DefineConstants>DEBUG;TRACE</DefineConstants>
  24. <ErrorReport>prompt</ErrorReport>
  25. <WarningLevel>4</WarningLevel>
  26. </PropertyGroup>
  27. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  28. <PlatformTarget>x64</PlatformTarget>
  29. <Prefer32Bit>false</Prefer32Bit>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>..\_output.battle.server\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. </PropertyGroup>
  37. <ItemGroup>
  38. <Reference Include="Newtonsoft.Json">
  39. <HintPath>..\..\server\src\library\Newtonsoft.Json.dll</HintPath>
  40. </Reference>
  41. <Reference Include="slua-standalone, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  42. <HintPath>..\packages\slua-standalone.1.0.67\lib\net35\slua-standalone.dll</HintPath>
  43. </Reference>
  44. <Reference Include="System" />
  45. <Reference Include="System.Core" />
  46. <Reference Include="System.Xml.Linq" />
  47. <Reference Include="System.Data.DataSetExtensions" />
  48. <Reference Include="Microsoft.CSharp" />
  49. <Reference Include="System.Data" />
  50. <Reference Include="System.Xml" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <Compile Include="ConsoleLogger.cs" />
  54. <Compile Include="BattleServer.cs" />
  55. <Compile Include="LaunchConfig.cs" />
  56. <Compile Include="Program.cs" />
  57. <Compile Include="Properties\AssemblyInfo.cs" />
  58. </ItemGroup>
  59. <ItemGroup>
  60. <None Include=".signature.p7s" />
  61. <None Include="App.config" />
  62. <None Include="lib\slua-standalone.dll.config" />
  63. <None Include="packages.config" />
  64. </ItemGroup>
  65. <ItemGroup>
  66. <ProjectReference Include="..\ServerLib\ServerLib.csproj">
  67. <Project>{c2310e13-8d59-4632-bf91-203bff2ffe4f}</Project>
  68. <Name>ServerLib</Name>
  69. </ProjectReference>
  70. </ItemGroup>
  71. <ItemGroup>
  72. <Content Include="lib\SLUA_README.txt" />
  73. <Content Include="lib\x64\slua.dll" />
  74. <Content Include="lib\x64\slua.so" />
  75. <Content Include="lib\x86\slua.dll" />
  76. <Content Include="lib\x86\slua.so" />
  77. </ItemGroup>
  78. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  79. <Target Name="AfterBuild">
  80. <PropertyGroup>
  81. <SluaNativeArch Condition="'$(PlatformTarget)' == 'x86'">x86</SluaNativeArch>
  82. <SluaNativeArch Condition="'$(PlatformTarget)' == 'x64'">x64</SluaNativeArch>
  83. <SluaNativeArch Condition="'$(PlatformTarget)' == 'AnyCPU' and '$(Prefer32Bit)' == 'true'">x86</SluaNativeArch>
  84. <SluaNativeArch Condition="'$(SluaNativeArch)' == ''">x64</SluaNativeArch>
  85. </PropertyGroup>
  86. <Copy SourceFiles="$(ProjectDir)lib\$(SluaNativeArch)\slua.dll" DestinationFiles="$(OutputPath)slua.dll" SkipUnchangedFiles="true" />
  87. <ItemGroup>
  88. <LibFiles Include="$(ProjectDir)lib\**\*" />
  89. </ItemGroup>
  90. <Copy SourceFiles="@(LibFiles)" DestinationFolder="$(OutputPath)lib\%(RecursiveDir)" SkipUnchangedFiles="true" />
  91. </Target>
  92. </Project>