Common.csproj 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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>{19F8F043-1F99-4550-99DF-DEA5C7D77E55}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <AppDesignerFolder>Properties</AppDesignerFolder>
  10. <RootNamespace>Common</RootNamespace>
  11. <AssemblyName>Common</AssemblyName>
  12. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
  15. <RestorePackages>true</RestorePackages>
  16. </PropertyGroup>
  17. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  18. <DebugSymbols>true</DebugSymbols>
  19. <DebugType>full</DebugType>
  20. <Optimize>false</Optimize>
  21. <OutputPath>..\..\Bin\Debug\</OutputPath>
  22. <DefineConstants>DEBUG;TRACE</DefineConstants>
  23. <ErrorReport>prompt</ErrorReport>
  24. <WarningLevel>4</WarningLevel>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  27. <DebugType>pdbonly</DebugType>
  28. <Optimize>true</Optimize>
  29. <OutputPath>..\..\Bin\Release\</OutputPath>
  30. <DefineConstants>TRACE</DefineConstants>
  31. <ErrorReport>prompt</ErrorReport>
  32. <WarningLevel>4</WarningLevel>
  33. </PropertyGroup>
  34. <ItemGroup>
  35. <Reference Include="MongoDB.Bson, Version=1.9.2.235, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL">
  36. <SpecificVersion>False</SpecificVersion>
  37. <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Bson.dll</HintPath>
  38. </Reference>
  39. <Reference Include="MongoDB.Driver, Version=1.9.2.235, Culture=neutral, PublicKeyToken=f686731cfb9cc103, processorArchitecture=MSIL">
  40. <SpecificVersion>False</SpecificVersion>
  41. <HintPath>..\..\packages\mongocsharpdriver.1.9.2\lib\net35\MongoDB.Driver.dll</HintPath>
  42. </Reference>
  43. <Reference Include="NLog, Version=3.1.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
  44. <SpecificVersion>False</SpecificVersion>
  45. <HintPath>..\..\packages\NLog.3.1.0.0\lib\net45\NLog.dll</HintPath>
  46. </Reference>
  47. <Reference Include="protobuf-net, Version=2.0.0.668, Culture=neutral, PublicKeyToken=257b51d87d2e4d67, processorArchitecture=MSIL">
  48. <SpecificVersion>False</SpecificVersion>
  49. <HintPath>..\..\packages\protobuf-net.2.0.0.668\lib\net40\protobuf-net.dll</HintPath>
  50. </Reference>
  51. <Reference Include="System" />
  52. <Reference Include="System.Core" />
  53. <Reference Include="System.Numerics" />
  54. <Reference Include="System.Xml.Linq" />
  55. <Reference Include="System.Data.DataSetExtensions" />
  56. <Reference Include="Microsoft.CSharp" />
  57. <Reference Include="System.Data" />
  58. <Reference Include="System.Xml" />
  59. </ItemGroup>
  60. <ItemGroup>
  61. <Compile Include="Base\Entity.cs" />
  62. <Compile Include="Base\Component.cs" />
  63. <Compile Include="Base\MultiMap.cs" />
  64. <Compile Include="Config\ICategory.cs" />
  65. <Compile Include="Event\Env.cs" />
  66. <Compile Include="Event\AEventAttribute.cs" />
  67. <Compile Include="Event\IEvent.cs" />
  68. <Compile Include="Base\Object.cs" />
  69. <Compile Include="Config\ConfigAttribute.cs" />
  70. <Compile Include="Config\ACategory.cs" />
  71. <Compile Include="Config\AConfig.cs" />
  72. <Compile Include="Helper\BigIntegerHelper.cs" />
  73. <Compile Include="Helper\ByteHelper.cs" />
  74. <Compile Include="Helper\EnumHelper.cs" />
  75. <Compile Include="Helper\LoaderHelper.cs" />
  76. <Compile Include="Helper\MongoHelper.cs" />
  77. <Compile Include="Hooks\Native.cs" />
  78. <Compile Include="Logger\ALogDecorater.cs" />
  79. <Compile Include="Logger\ILog.cs" />
  80. <Compile Include="Logger\Log.cs" />
  81. <Compile Include="Logger\NLogAdapter.cs" />
  82. <Compile Include="Logger\StackInfoDecorater.cs" />
  83. <Compile Include="Helper\ProtobufHelper.cs" />
  84. <Compile Include="Helper\RandomHelper.cs" />
  85. <Compile Include="Helper\StringHelper.cs" />
  86. <Compile Include="Helper\TimeHelper.cs" />
  87. <Compile Include="Helper\XmlHelper.cs" />
  88. </ItemGroup>
  89. <ItemGroup>
  90. <None Include="Helper\Packages.config" />
  91. <None Include="packages.config" />
  92. </ItemGroup>
  93. <ItemGroup>
  94. <Folder Include="Properties\" />
  95. </ItemGroup>
  96. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  97. <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
  98. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  99. <PropertyGroup>
  100. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  101. </PropertyGroup>
  102. <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
  103. </Target>
  104. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  105. Other similar extension points exist, see Microsoft.Common.targets.
  106. <Target Name="BeforeBuild">
  107. </Target>
  108. <Target Name="AfterBuild">
  109. </Target>
  110. -->
  111. </Project>