protoc-gen-cs.Test.csproj 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <PropertyGroup>
  4. <EnvironmentFlavor>CLIENTPROFILE</EnvironmentFlavor>
  5. <EnvironmentTemplate>NET35</EnvironmentTemplate>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProductVersion>9.0.30729</ProductVersion>
  9. <SchemaVersion>2.0</SchemaVersion>
  10. <ProjectGuid>{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}</ProjectGuid>
  11. <OutputType>Library</OutputType>
  12. <AppDesignerFolder>Properties</AppDesignerFolder>
  13. <RootNamespace>Google.ProtocolBuffers.ProtoGen</RootNamespace>
  14. <AssemblyName>protoc-gen-cs.Test</AssemblyName>
  15. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  16. <FileAlignment>512</FileAlignment>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
  19. <DebugSymbols>true</DebugSymbols>
  20. <DebugType>full</DebugType>
  21. <Optimize>false</Optimize>
  22. <OutputPath>bin\NET35\Debug</OutputPath>
  23. <IntermediateOutputPath>obj\NET35\Debug\</IntermediateOutputPath>
  24. <DefineConstants>DEBUG;TRACE;$(EnvironmentFlavor);$(EnvironmentTemplate)</DefineConstants>
  25. <ErrorReport>prompt</ErrorReport>
  26. <WarningLevel>4</WarningLevel>
  27. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  28. <NoStdLib>true</NoStdLib>
  29. <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
  30. </PropertyGroup>
  31. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  32. <DebugType>pdbonly</DebugType>
  33. <Optimize>true</Optimize>
  34. <OutputPath>bin\NET35\Release</OutputPath>
  35. <IntermediateOutputPath>obj\NET35\Release\</IntermediateOutputPath>
  36. <DefineConstants>TRACE;$(EnvironmentFlavor);$(EnvironmentTemplate)</DefineConstants>
  37. <ErrorReport>prompt</ErrorReport>
  38. <WarningLevel>4</WarningLevel>
  39. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  40. <NoStdLib>true</NoStdLib>
  41. <GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
  42. </PropertyGroup>
  43. <ItemGroup>
  44. <Reference Include="nunit.framework">
  45. <SpecificVersion>False</SpecificVersion>
  46. <HintPath>..\..\lib\NUnit\lib\nunit.framework.dll</HintPath>
  47. </Reference>
  48. <Reference Include="mscorlib" />
  49. <Reference Include="System" />
  50. <Reference Include="System.Data" />
  51. <Reference Include="System.Xml" />
  52. </ItemGroup>
  53. <ItemGroup>
  54. <Compile Include="ProtocGenCsUnittests.cs" />
  55. <Compile Include="Properties\AssemblyInfo.cs" />
  56. <Compile Include="TempFile.cs" />
  57. </ItemGroup>
  58. <ItemGroup>
  59. <ProjectReference Include="..\ProtocolBuffers\ProtocolBuffers.csproj">
  60. <Project>{6908bdce-d925-43f3-94ac-a531e6df2591}</Project>
  61. <Name>ProtocolBuffers</Name>
  62. </ProjectReference>
  63. <ProjectReference Include="..\ProtoGen\protoc-gen-cs.csproj">
  64. <Project>{250ade34-82fd-4bae-86d5-985fbe589c4b}</Project>
  65. <Name>protoc-gen-cs</Name>
  66. </ProjectReference>
  67. </ItemGroup>
  68. <ItemGroup>
  69. <Content Include="..\..\lib\protoc.exe">
  70. <Link>protoc.exe</Link>
  71. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  72. </Content>
  73. </ItemGroup>
  74. <ItemGroup>
  75. <None Include="..\..\protos\google\protobuf\csharp_options.proto">
  76. <Link>google\protobuf\csharp_options.proto</Link>
  77. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  78. </None>
  79. <None Include="..\..\protos\google\protobuf\descriptor.proto">
  80. <Link>google\protobuf\descriptor.proto</Link>
  81. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  82. </None>
  83. </ItemGroup>
  84. <ItemGroup>
  85. <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
  86. </ItemGroup>
  87. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  88. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  89. Other similar extension points exist, see Microsoft.Common.targets.
  90. <Target Name="BeforeBuild">
  91. </Target>
  92. <Target Name="AfterBuild">
  93. </Target>
  94. -->
  95. <PropertyGroup>
  96. <StartAction>Program</StartAction>
  97. <StartProgram>$(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe</StartProgram>
  98. <StartArguments>/nologo /noshadow /labels /wait $(AssemblyName).dll</StartArguments>
  99. <StartWorkingDirectory>$(ProjectDir)$(OutputPath)</StartWorkingDirectory>
  100. </PropertyGroup>
  101. </Project>