<?xml version="1.0" encoding="utf-8"?> | |
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<PropertyGroup> | |
<EnvironmentFlavor>CLIENTPROFILE</EnvironmentFlavor> | |
<EnvironmentTemplate>NET35</EnvironmentTemplate> | |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
<ProductVersion>9.0.30729</ProductVersion> | |
<SchemaVersion>2.0</SchemaVersion> | |
<ProjectGuid>{C1024C9C-8176-48C3-B547-B9F6DF6B80A6}</ProjectGuid> | |
<OutputType>Library</OutputType> | |
<AppDesignerFolder>Properties</AppDesignerFolder> | |
<RootNamespace>Google.ProtocolBuffers.ProtoGen</RootNamespace> | |
<AssemblyName>protoc-gen-cs.Test</AssemblyName> | |
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | |
<FileAlignment>512</FileAlignment> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
<DebugSymbols>true</DebugSymbols> | |
<DebugType>full</DebugType> | |
<Optimize>false</Optimize> | |
<OutputPath>bin\NET35\Debug</OutputPath> | |
<IntermediateOutputPath>obj\NET35\Debug\</IntermediateOutputPath> | |
<DefineConstants>DEBUG;TRACE;$(EnvironmentFlavor);$(EnvironmentTemplate)</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | |
<NoStdLib>true</NoStdLib> | |
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> | |
</PropertyGroup> | |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
<DebugType>pdbonly</DebugType> | |
<Optimize>true</Optimize> | |
<OutputPath>bin\NET35\Release</OutputPath> | |
<IntermediateOutputPath>obj\NET35\Release\</IntermediateOutputPath> | |
<DefineConstants>TRACE;$(EnvironmentFlavor);$(EnvironmentTemplate)</DefineConstants> | |
<ErrorReport>prompt</ErrorReport> | |
<WarningLevel>4</WarningLevel> | |
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | |
<NoStdLib>true</NoStdLib> | |
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies> | |
</PropertyGroup> | |
<ItemGroup> | |
<Reference Include="nunit.framework"> | |
<SpecificVersion>False</SpecificVersion> | |
<HintPath>..\..\lib\NUnit\lib\nunit.framework.dll</HintPath> | |
</Reference> | |
<Reference Include="mscorlib" /> | |
<Reference Include="System" /> | |
<Reference Include="System.Data" /> | |
<Reference Include="System.Xml" /> | |
</ItemGroup> | |
<ItemGroup> | |
<Compile Include="ProtocGenCsUnittests.cs" /> | |
<Compile Include="Properties\AssemblyInfo.cs" /> | |
<Compile Include="TempFile.cs" /> | |
</ItemGroup> | |
<ItemGroup> | |
<ProjectReference Include="..\ProtocolBuffers\ProtocolBuffers.csproj"> | |
<Project>{6908bdce-d925-43f3-94ac-a531e6df2591}</Project> | |
<Name>ProtocolBuffers</Name> | |
</ProjectReference> | |
<ProjectReference Include="..\ProtoGen\protoc-gen-cs.csproj"> | |
<Project>{250ade34-82fd-4bae-86d5-985fbe589c4b}</Project> | |
<Name>protoc-gen-cs</Name> | |
</ProjectReference> | |
</ItemGroup> | |
<ItemGroup> | |
<Content Include="..\..\lib\protoc.exe"> | |
<Link>protoc.exe</Link> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</Content> | |
</ItemGroup> | |
<ItemGroup> | |
<None Include="..\..\protos\google\protobuf\csharp_options.proto"> | |
<Link>google\protobuf\csharp_options.proto</Link> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</None> | |
<None Include="..\..\protos\google\protobuf\descriptor.proto"> | |
<Link>google\protobuf\descriptor.proto</Link> | |
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
</None> | |
</ItemGroup> | |
<ItemGroup> | |
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> | |
</ItemGroup> | |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | |
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |
Other similar extension points exist, see Microsoft.Common.targets. | |
<Target Name="BeforeBuild"> | |
</Target> | |
<Target Name="AfterBuild"> | |
</Target> | |
--> | |
<PropertyGroup> | |
<StartAction>Program</StartAction> | |
<StartProgram>$(ProjectDir)..\..\lib\NUnit\tools\nunit-console.exe</StartProgram> | |
<StartArguments>/nologo /noshadow /labels /wait $(AssemblyName).dll</StartArguments> | |
<StartWorkingDirectory>$(ProjectDir)$(OutputPath)</StartWorkingDirectory> | |
</PropertyGroup> | |
</Project> |