ProtoGen.Test.csproj 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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>{C268DA4C-4004-47DA-AF23-44C983281A68}</ProjectGuid>
  11. <OutputType>Library</OutputType>
  12. <AppDesignerFolder>Properties</AppDesignerFolder>
  13. <RootNamespace>Google.ProtocolBuffers.ProtoGen</RootNamespace>
  14. <AssemblyName>Google.ProtocolBuffers.ProtoGen.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="DependencyResolutionTest.cs" />
  55. <Compile Include="Properties\AssemblyInfo.cs" />
  56. <Compile Include="TempFile.cs" />
  57. <Compile Include="TestPreprocessing.cs" />
  58. </ItemGroup>
  59. <ItemGroup>
  60. <ProjectReference Include="..\ProtocolBuffers\ProtocolBuffers.csproj">
  61. <Project>{6908BDCE-D925-43F3-94AC-A531E6DF2591}</Project>
  62. <Name>ProtocolBuffers</Name>
  63. </ProjectReference>
  64. <ProjectReference Include="..\ProtoGen\ProtoGen.csproj">
  65. <Project>{250ADE34-82FD-4BAE-86D5-985FBE589C4A}</Project>
  66. <Name>ProtoGen</Name>
  67. </ProjectReference>
  68. </ItemGroup>
  69. <ItemGroup>
  70. <Content Include="..\..\lib\protoc.exe">
  71. <Link>protoc.exe</Link>
  72. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  73. </Content>
  74. </ItemGroup>
  75. <ItemGroup>
  76. <None Include="..\..\protos\google\protobuf\csharp_options.proto">
  77. <Link>google\protobuf\csharp_options.proto</Link>
  78. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  79. </None>
  80. <None Include="..\..\protos\google\protobuf\descriptor.proto">
  81. <Link>google\protobuf\descriptor.proto</Link>
  82. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  83. </None>
  84. </ItemGroup>
  85. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  86. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  87. Other similar extension points exist, see Microsoft.Common.targets.
  88. <Target Name="BeforeBuild">
  89. </Target>
  90. <Target Name="AfterBuild">
  91. </Target>
  92. -->
  93. <PropertyGroup>
  94. <StartAction>Program</StartAction>
  95. <StartProgram>$(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe</StartProgram>
  96. <StartArguments>/nologo /noshadow /labels /wait $(AssemblyName).dll</StartArguments>
  97. <StartWorkingDirectory>$(ProjectDir)$(OutputPath)</StartWorkingDirectory>
  98. </PropertyGroup>
  99. </Project>