VBCSCompilerTests.csproj 6.6 KB
Newer Older
P
Pilchie 已提交
1 2 3 4 5
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Open Technologies, Inc.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="Settings">
    <Import Project="..\..\..\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\VSL.Settings.targets" />
6
    <Import Project="..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4070101-beta\build\Microsoft.Net.ToolsetCompilers.props" Condition="Exists('..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4070101-beta\build\Microsoft.Net.ToolsetCompilers.props')" />
P
Pilchie 已提交
7 8 9 10
  </ImportGroup>
  <PropertyGroup>
    <Nonshipping>true</Nonshipping>
    <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
11
    <OutDir>..\..\..\..\Binaries\$(Configuration)\</OutDir>
P
Pilchie 已提交
12 13 14
    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
    <ProjectGuid>{F5CE416E-B906-41D2-80B9-0078E887A3F6}</ProjectGuid>
    <OutputType>Library</OutputType>
15 16
    <RootNamespace>Microsoft.CodeAnalysis.CompilerServer.UnitTests</RootNamespace>
    <AssemblyName>Roslyn.Compilers.CompilerServer.UnitTests</AssemblyName>
P
Pilchie 已提交
17 18 19 20 21 22
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <StyleCopEnabled>false</StyleCopEnabled>
    <SolutionDir Condition="'$(SolutionDir)' == '' OR '$(SolutionDir)' == '*Undefined*'">..\..\..\</SolutionDir>
    <RestorePackages>true</RestorePackages>
  </PropertyGroup>
  <ItemGroup Label="Project References">
23 24 25 26
    <ProjectReference Include="..\Desktop\CodeAnalysis.Desktop.csproj">
      <Project>{dfa21ca1-7f96-47ee-940c-069858e81727}</Project>
      <Name>CodeAnalysis.Desktop</Name>
    </ProjectReference>
27 28 29 30 31
    <ProjectReference Include="..\VBCSCompiler\VBCSCompiler.csproj">
      <Project>{9508F118-F62E-4C16-A6F4-7C3B56E166AD}</Project>
      <Name>VBCSCompiler</Name>
      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
    </ProjectReference>
P
Pilchie 已提交
32 33 34 35 36 37 38 39
    <ProjectReference Include="..\..\..\Test\PdbUtilities\PdbUtilities.csproj">
      <Project>{AFDE6BEA-5038-4A4A-A88E-DBD2E4088EED}</Project>
      <Name>PdbUtilities</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\..\Test\Utilities\TestUtilities.csproj">
      <Project>{76C6F005-C89D-4348-BB4A-391898DBEB52}</Project>
      <Name>TestUtilities</Name>
    </ProjectReference>
40 41 42 43
    <ProjectReference Include="..\..\CSharp\Portable\CSharpCodeAnalysis.csproj">
      <Project>{B501A547-C911-4A05-AC6E-274A50DFF30E}</Project>
      <Name>CSharpCodeAnalysis</Name>
    </ProjectReference>
P
Pilchie 已提交
44 45 46 47 48 49 50 51
    <ProjectReference Include="..\..\Test\Resources\Core\CompilerTestResources.vbproj">
      <Project>{7FE6B002-89D8-4298-9B1B-0B5C247DD1FD}</Project>
      <Name>CompilerTestResources</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Test\Utilities\Core2\CompilerTestUtilities2.csproj">
      <Project>{F7712928-1175-47B3-8819-EE086753DEE2}</Project>
      <Name>CompilerTestUtilities2</Name>
    </ProjectReference>
52 53 54 55
    <ProjectReference Include="..\..\VisualBasic\Portable\BasicCodeAnalysis.vbproj">
      <Project>{2523D0E6-DF32-4A3E-8AE0-A19BFFAE2EF6}</Project>
      <Name>BasicCodeAnalysis</Name>
    </ProjectReference>
P
Pilchie 已提交
56 57 58 59
    <ProjectReference Include="..\MSBuildTasks\MSBuildTasks.csproj">
      <Project>{AC2BE224-FB28-40D4-B174-63CABDD488ED}</Project>
      <Name>MSBuildTasks</Name>
    </ProjectReference>
60 61 62
    <ProjectReference Include="..\Portable\CodeAnalysis.csproj">
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
P
Pilchie 已提交
63 64 65
    </ProjectReference>
  </ItemGroup>
  <ItemGroup Label="File References">
66
    <Reference Include="System.Reflection.Metadata">
67
      <HintPath>..\..\..\packages\Microsoft.Bcl.Metadata.1.0.12-alpha\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
68 69 70 71
    </Reference>
    <Reference Include="System.Collections.Immutable">
      <HintPath>..\..\..\packages\Microsoft.Bcl.Immutable.1.1.20-beta\lib\portable-net45+win8\System.Collections.Immutable.dll</HintPath>
    </Reference>
P
Pilchie 已提交
72 73 74 75 76 77 78 79 80 81
    <Reference Include="xunit.abstractions">
      <HintPath>..\..\..\packages\xunit.abstractions.2.0.0-alpha-build2576\lib\net35\xunit.abstractions.dll</HintPath>
    </Reference>
    <Reference Include="xunit2.assert">
      <HintPath>..\..\..\packages\xunit.assert.2.0.0-alpha-build2576\lib\net45\xunit2.assert.dll</HintPath>
    </Reference>
    <Reference Include="xunit2">
      <HintPath>..\..\..\packages\xunit.core.2.0.0-alpha-build2576\lib\net45\xunit2.dll</HintPath>
    </Reference>
    <Reference Include="Microsoft.CodeAnalysis.Test.Resources.Proprietary">
82
      <HintPath>..\..\..\packages\Microsoft.CodeAnalysis.Test.Resources.Proprietary.0.7.4070101-beta\lib\net45\Microsoft.CodeAnalysis.Test.Resources.Proprietary.dll</HintPath>
P
Pilchie 已提交
83 84
    </Reference>
  </ItemGroup>
85 86
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
P
Pilchie 已提交
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' ">
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM' ">
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Collections" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyAttributes.cs" />
    <Compile Include="CompilerServerTests.cs" />
  </ItemGroup>
102
  <ItemGroup />
P
Pilchie 已提交
103 104 105 106 107 108
  <ItemGroup>
    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
  </ItemGroup>
  <ImportGroup Label="Targets">
    <Import Project="..\..\..\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\VSL.Imports.targets" />
    <Import Project="..\..\..\packages\StyleCop.MSBuild.4.7.48.2\build\StyleCop.MSBuild.Targets" Condition="Exists('..\..\..\packages\StyleCop.MSBuild.4.7.48.2\build\StyleCop.MSBuild.Targets')" />
K
kayleh 已提交
109
    <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
P
Pilchie 已提交
110 111 112 113 114 115 116 117
  </ImportGroup>
  <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    <PropertyGroup>
      <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>
    </PropertyGroup>
    <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
  </Target>
</Project>