DistribTest.csproj 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.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. <Import Project="..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.props" Condition="Exists('..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{A3E61CC3-3710-49A3-A830-A0066EDBCE2F}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <AppDesignerFolder>Properties</AppDesignerFolder>
  11. <RootNamespace>DistribTest</RootNamespace>
  12. <AssemblyName>DistribTest</AssemblyName>
  13. <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
  14. <FileAlignment>512</FileAlignment>
  15. <NuGetPackageImportStamp>b86d820c</NuGetPackageImportStamp>
  16. </PropertyGroup>
  17. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  18. <PlatformTarget>AnyCPU</PlatformTarget>
  19. <DebugSymbols>true</DebugSymbols>
  20. <DebugType>full</DebugType>
  21. <Optimize>false</Optimize>
  22. <OutputPath>bin\Debug\</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>AnyCPU</PlatformTarget>
  29. <DebugType>pdbonly</DebugType>
  30. <Optimize>true</Optimize>
  31. <OutputPath>bin\Release\</OutputPath>
  32. <DefineConstants>TRACE</DefineConstants>
  33. <ErrorReport>prompt</ErrorReport>
  34. <WarningLevel>4</WarningLevel>
  35. </PropertyGroup>
  36. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
  37. <DebugSymbols>true</DebugSymbols>
  38. <OutputPath>bin\x64\Debug\</OutputPath>
  39. <DefineConstants>DEBUG;TRACE</DefineConstants>
  40. <DebugType>full</DebugType>
  41. <PlatformTarget>x64</PlatformTarget>
  42. <ErrorReport>prompt</ErrorReport>
  43. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  44. <Prefer32Bit>true</Prefer32Bit>
  45. <WarningLevel>4</WarningLevel>
  46. <Optimize>false</Optimize>
  47. </PropertyGroup>
  48. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
  49. <OutputPath>bin\x64\Release\</OutputPath>
  50. <DefineConstants>TRACE</DefineConstants>
  51. <Optimize>true</Optimize>
  52. <DebugType>pdbonly</DebugType>
  53. <PlatformTarget>x64</PlatformTarget>
  54. <ErrorReport>prompt</ErrorReport>
  55. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  56. <Prefer32Bit>true</Prefer32Bit>
  57. <WarningLevel>4</WarningLevel>
  58. </PropertyGroup>
  59. <PropertyGroup>
  60. <!-- this project is built with a legacy C# compiler, so ref structs are not supported.
  61. Use GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE to still allow building the protobuf
  62. generate code -->
  63. <DefineConstants>$(DefineConstants);GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE</DefineConstants>
  64. <!-- Create a binding redirect to avoid mismatch between different versions of System.Memory
  65. being referenced by Grpc.Core and Google.Protobuf.
  66. See http://go.microsoft.com/fwlink/?LinkId=294190 -->
  67. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  68. </PropertyGroup>
  69. <ItemGroup>
  70. <Reference Include="Grpc.Auth">
  71. <HintPath>..\packages\Grpc.Auth.__GRPC_NUGET_VERSION__\lib\net45\Grpc.Auth.dll</HintPath>
  72. </Reference>
  73. <Reference Include="Grpc.Core">
  74. <HintPath>..\packages\Grpc.Core.__GRPC_NUGET_VERSION__\lib\net45\Grpc.Core.dll</HintPath>
  75. </Reference>
  76. <Reference Include="Grpc.Core.Api">
  77. <HintPath>..\packages\Grpc.Core.Api.__GRPC_NUGET_VERSION__\lib\net45\Grpc.Core.Api.dll</HintPath>
  78. </Reference>
  79. <Reference Include="System" />
  80. <Reference Include="System.Core" />
  81. <Reference Include="System.Buffers">
  82. <HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard1.1\System.Buffers.dll</HintPath>
  83. </Reference>
  84. <Reference Include="System.Memory">
  85. <HintPath>..\packages\System.Memory.4.5.3\lib\netstandard1.1\System.Memory.dll</HintPath>
  86. </Reference>
  87. <Reference Include="System.Runtime.CompilerServices.Unsafe">
  88. <HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard1.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
  89. </Reference>
  90. <Reference Include="System.Net" />
  91. <Reference Include="System.Net.Http" />
  92. <Reference Include="System.Net.Http.WebRequest" />
  93. <Reference Include="System.Xml.Linq" />
  94. <Reference Include="System.Data.DataSetExtensions" />
  95. <Reference Include="Microsoft.CSharp" />
  96. <Reference Include="System.Data" />
  97. <Reference Include="System.Xml" />
  98. <Reference Include="BouncyCastle.Crypto">
  99. <HintPath>..\packages\BouncyCastle.1.7.0\lib\Net40-Client\BouncyCastle.Crypto.dll</HintPath>
  100. </Reference>
  101. <Reference Include="Newtonsoft.Json">
  102. <HintPath>..\packages\Newtonsoft.Json.7.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
  103. </Reference>
  104. <Reference Include="Google.Apis.Core">
  105. <HintPath>..\packages\Google.Apis.Core.1.15.0\lib\net45\Google.Apis.Core.dll</HintPath>
  106. </Reference>
  107. <Reference Include="Google.Apis.Auth">
  108. <HintPath>..\packages\Google.Apis.Auth.1.15.0\lib\net45\Google.Apis.Auth.dll</HintPath>
  109. </Reference>
  110. <Reference Include="Google.Apis.Auth.PlatformServices">
  111. <HintPath>..\packages\Google.Apis.Auth.1.15.0\lib\net45\Google.Apis.Auth.PlatformServices.dll</HintPath>
  112. </Reference>
  113. <Reference Include="Google.Protobuf">
  114. <HintPath>..\packages\Google.Protobuf.3.13.0\lib\net45\Google.Protobuf.dll</HintPath>
  115. </Reference>
  116. </ItemGroup>
  117. <ItemGroup>
  118. <Compile Include="Program.cs" />
  119. <Compile Include="Properties\AssemblyInfo.cs" />
  120. </ItemGroup>
  121. <ItemGroup>
  122. <Protobuf Include="**\*.proto" />
  123. </ItemGroup>
  124. <ItemGroup>
  125. <None Include="packages.config" />
  126. </ItemGroup>
  127. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  128. <Import Project="..\packages\Grpc.Core.__GRPC_NUGET_VERSION__\build\net45\Grpc.Core.targets" Condition="Exists('..\packages\Grpc.Core.__GRPC_NUGET_VERSION__\build\net45\Grpc.Core.targets')" />
  129. <Import Project="..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.targets" Condition="Exists('..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.targets')" />
  130. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  131. <PropertyGroup>
  132. <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  133. </PropertyGroup>
  134. <Error Condition="!Exists('..\packages\Grpc.Core.__GRPC_NUGET_VERSION__\build\net45\Grpc.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Core.__GRPC_NUGET_VERSION__\build\net45\Grpc.Core.targets'))" />
  135. <Error Condition="!Exists('..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.props'))" />
  136. <Error Condition="!Exists('..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Grpc.Tools.__GRPC_NUGET_VERSION__\build\Grpc.Tools.targets'))" />
  137. </Target>
  138. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  139. Other similar extension points exist, see Microsoft.Common.targets.
  140. <Target Name="BeforeBuild">
  141. </Target>
  142. <Target Name="AfterBuild">
  143. </Target>
  144. -->
  145. </Project>