HXX.Scanner.Socket.csproj 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" 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>{36A659DA-1EBE-4DBE-A729-4DF9EC173BF0}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <RootNamespace>HXX.Scanner.Socket</RootNamespace>
  10. <AssemblyName>HXX.Scanner.Socket</AssemblyName>
  11. <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  14. <Deterministic>true</Deterministic>
  15. <NuGetPackageImportStamp>
  16. </NuGetPackageImportStamp>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <PlatformTarget>x86</PlatformTarget>
  20. <DebugSymbols>true</DebugSymbols>
  21. <DebugType>full</DebugType>
  22. <Optimize>false</Optimize>
  23. <OutputPath>bin\Debug\</OutputPath>
  24. <DefineConstants>DEBUG;TRACE</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. </PropertyGroup>
  28. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  29. <PlatformTarget>AnyCPU</PlatformTarget>
  30. <DebugType>pdbonly</DebugType>
  31. <Optimize>true</Optimize>
  32. <OutputPath>bin\Release\</OutputPath>
  33. <DefineConstants>TRACE</DefineConstants>
  34. <ErrorReport>prompt</ErrorReport>
  35. <WarningLevel>4</WarningLevel>
  36. </PropertyGroup>
  37. <PropertyGroup>
  38. <StartupObject />
  39. </PropertyGroup>
  40. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
  41. <DebugSymbols>true</DebugSymbols>
  42. <OutputPath>bin\x86\Debug\</OutputPath>
  43. <DefineConstants>DEBUG;TRACE</DefineConstants>
  44. <DebugType>full</DebugType>
  45. <PlatformTarget>x86</PlatformTarget>
  46. <LangVersion>7.3</LangVersion>
  47. <ErrorReport>prompt</ErrorReport>
  48. <Prefer32Bit>true</Prefer32Bit>
  49. </PropertyGroup>
  50. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
  51. <OutputPath>bin\x86\Release\</OutputPath>
  52. <DefineConstants>TRACE</DefineConstants>
  53. <Optimize>true</Optimize>
  54. <DebugType>pdbonly</DebugType>
  55. <PlatformTarget>x86</PlatformTarget>
  56. <LangVersion>7.3</LangVersion>
  57. <ErrorReport>prompt</ErrorReport>
  58. </PropertyGroup>
  59. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  60. <DebugSymbols>true</DebugSymbols>
  61. <OutputPath>bin\x64\Debug\</OutputPath>
  62. <DefineConstants>DEBUG;TRACE</DefineConstants>
  63. <DebugType>full</DebugType>
  64. <PlatformTarget>x64</PlatformTarget>
  65. <LangVersion>7.3</LangVersion>
  66. <ErrorReport>prompt</ErrorReport>
  67. <Prefer32Bit>true</Prefer32Bit>
  68. </PropertyGroup>
  69. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  70. <OutputPath>bin\x64\Release\</OutputPath>
  71. <DefineConstants>TRACE</DefineConstants>
  72. <Optimize>true</Optimize>
  73. <DebugType>pdbonly</DebugType>
  74. <PlatformTarget>x64</PlatformTarget>
  75. <LangVersion>7.3</LangVersion>
  76. <ErrorReport>prompt</ErrorReport>
  77. </PropertyGroup>
  78. <ItemGroup>
  79. <Reference Include="HPSocket.Net, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
  80. <HintPath>..\packages\HPSocket.Net.5.8.4.1\lib\net461\HPSocket.Net.dll</HintPath>
  81. </Reference>
  82. <Reference Include="System" />
  83. <Reference Include="System.Data" />
  84. <Reference Include="System.Net" />
  85. </ItemGroup>
  86. <ItemGroup>
  87. <Compile Include="entity\ws_client.cs" />
  88. <Compile Include="entity\onMessageDelegate.cs" />
  89. <Compile Include="Hub\biz_Hub.cs" />
  90. <Compile Include="SocketServerManager.cs" />
  91. <Compile Include="SocketServer.cs" />
  92. </ItemGroup>
  93. <ItemGroup>
  94. <ProjectReference Include="..\HXX.Scanner.Common\HXX.Scanner.Common.csproj">
  95. <Project>{9bf65a62-0e22-4e6e-8cc0-39b89fea0668}</Project>
  96. <Name>HXX.Scanner.Common</Name>
  97. </ProjectReference>
  98. </ItemGroup>
  99. <ItemGroup>
  100. <Content Include="HPSocket\hpsocket_cn.txt" />
  101. <Content Include="HPSocket\hpsocket_en.txt" />
  102. </ItemGroup>
  103. <ItemGroup>
  104. <None Include="packages.config" />
  105. <None Include="ssl\client.cer">
  106. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  107. </None>
  108. </ItemGroup>
  109. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  110. <Import Project="..\packages\HPSocket.Net.5.8.4.1\build\HPSocket.Net.targets" Condition="Exists('..\packages\HPSocket.Net.5.8.4.1\build\HPSocket.Net.targets')" />
  111. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  112. <PropertyGroup>
  113. <ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
  114. </PropertyGroup>
  115. <Error Condition="!Exists('..\packages\HPSocket.Net.5.8.4.1\build\HPSocket.Net.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\HPSocket.Net.5.8.4.1\build\HPSocket.Net.targets'))" />
  116. </Target>
  117. </Project>