VBCSCompilerTests.csproj 6.9 KB
Newer Older
P
Pilchie 已提交
1 2 3
<?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">
4
  <Import Project="..\..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4100302-beta\build\Microsoft.Net.ToolsetCompilers.props" Condition="Exists('..\..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4100302-beta\build\Microsoft.Net.ToolsetCompilers.props')" />
P
Pilchie 已提交
5 6 7 8 9 10
  <ImportGroup Label="Settings">
    <Import Project="..\..\..\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\VSL.Settings.targets" />
  </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="..\..\CSharp\csc2\csc2.vcxproj">
      <Project>{63d0f073-f0b3-42cd-829f-e48b977b48ba}</Project>
      <Name>csc2</Name>
    </ProjectReference>
27 28 29 30
    <ProjectReference Include="..\Desktop\CodeAnalysis.Desktop.csproj">
      <Project>{dfa21ca1-7f96-47ee-940c-069858e81727}</Project>
      <Name>CodeAnalysis.Desktop</Name>
    </ProjectReference>
P
Pilchie 已提交
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
    <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>
    <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>
    <ProjectReference Include="..\MSBuildTasks\MSBuildTasks.csproj">
      <Project>{AC2BE224-FB28-40D4-B174-63CABDD488ED}</Project>
      <Name>MSBuildTasks</Name>
    </ProjectReference>
51 52 53 54
    <ProjectReference Include="..\..\VisualBasic\vbc2\vbc2.vcxproj">
      <Project>{63d0f073-f0b3-42cd-829f-e48b977b48ba}</Project>
      <Name>vbc2</Name>
    </ProjectReference>
55 56 57
    <ProjectReference Include="..\VBCSCompiler\VBCSCompiler.csproj">
      <Project>{9508f118-f62e-4c16-a6f4-7c3b56e166ad}</Project>
      <Name>VBCSCompiler</Name>
P
Pilchie 已提交
58 59 60
    </ProjectReference>
  </ItemGroup>
  <ItemGroup Label="File References">
61 62 63 64
    <Reference Include="Microsoft.CodeAnalysis.Test.Resources.Proprietary, Version=0.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\..\packages\Microsoft.CodeAnalysis.Test.Resources.Proprietary.0.7.4090503-beta\lib\net45\Microsoft.CodeAnalysis.Test.Resources.Proprietary.dll</HintPath>
    </Reference>
65
    <Reference Include="System.Reflection.Metadata">
66
      <HintPath>..\..\..\..\packages\Microsoft.Bcl.Metadata.1.0.12-alpha\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
67 68
    </Reference>
    <Reference Include="System.Collections.Immutable">
69
      <HintPath>..\..\..\..\packages\Microsoft.Bcl.Immutable.1.1.20-beta\lib\portable-net45+win8\System.Collections.Immutable.dll</HintPath>
70
    </Reference>
P
Pilchie 已提交
71
    <Reference Include="xunit.abstractions">
72
      <HintPath>..\..\..\..\packages\xunit.abstractions.2.0.0-alpha-build2576\lib\net35\xunit.abstractions.dll</HintPath>
P
Pilchie 已提交
73 74
    </Reference>
    <Reference Include="xunit2.assert">
75
      <HintPath>..\..\..\..\packages\xunit.assert.2.0.0-alpha-build2576\lib\net45\xunit2.assert.dll</HintPath>
P
Pilchie 已提交
76 77
    </Reference>
    <Reference Include="xunit2">
78
      <HintPath>..\..\..\..\packages\xunit.core.2.0.0-alpha-build2576\lib\net45\xunit2.dll</HintPath>
P
Pilchie 已提交
79 80
    </Reference>
  </ItemGroup>
81 82
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "></PropertyGroup>
P
Pilchie 已提交
83 84 85 86 87 88 89 90 91 92 93 94 95 96
  <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" />
97
    <Compile Include="RunKeepAliveTests.cs" />
P
Pilchie 已提交
98 99 100 101
  </ItemGroup>
  <ItemGroup>
    <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
  </ItemGroup>
102 103 104
  <ItemGroup>
    <None Include="packages.config" />
  </ItemGroup>
P
Pilchie 已提交
105 106
  <ImportGroup Label="Targets">
    <Import Project="..\..\..\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\VSL.Imports.targets" />
107
    <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 已提交
108
    <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
P
Pilchie 已提交
109 110 111 112 113 114
  </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'))" />
115
    <Error Condition="!Exists('..\..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4100302-beta\build\Microsoft.Net.ToolsetCompilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\..\..\packages\Microsoft.Net.ToolsetCompilers.0.7.4100302-beta\build\Microsoft.Net.ToolsetCompilers.props'))" />
P
Pilchie 已提交
116 117
  </Target>
</Project>