TestUtilities.csproj 11.5 KB
Newer Older
P
Pilchie 已提交
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- Copyright (c)  Microsoft.  All Rights Reserved.  Licensed under the Apache License, Version 2.0.  See License.txt in the project root for license information. -->
P
Pilchie 已提交
3 4
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ImportGroup Label="Settings">
A
Andy Gocke 已提交
5
    <Import Project="..\..\..\build\Targets\VSL.Settings.targets" />
P
Pilchie 已提交
6 7 8 9 10 11 12 13 14
  </ImportGroup>
  <PropertyGroup>
    <Nonshipping>true</Nonshipping>
    <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
    <ProjectGuid>{76C6F005-C89D-4348-BB4A-391898DBEB52}</ProjectGuid>
    <OutputType>Library</OutputType>
    <RootNamespace>Roslyn.Test.Utilities</RootNamespace>
    <AssemblyName>Roslyn.Test.Utilities</AssemblyName>
15
    <SolutionDir Condition="'$(SolutionDir)' == '' OR '$(SolutionDir)' == '*Undefined*'">..\..\..\</SolutionDir>
P
Pilchie 已提交
16
    <RestorePackages>true</RestorePackages>
17
    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
P
Pilchie 已提交
18 19
  </PropertyGroup>
  <ItemGroup Label="Project References">
20
    <ProjectReference Include="..\..\Compilers\Core\Portable\CodeAnalysis.csproj">
P
Pilchie 已提交
21 22 23
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
    </ProjectReference>
24
    <ProjectReference Include="..\..\Compilers\CSharp\Portable\CSharpCodeAnalysis.csproj">
P
Pilchie 已提交
25 26 27
      <Project>{B501A547-C911-4A05-AC6E-274A50DFF30E}</Project>
      <Name>CSharpCodeAnalysis</Name>
    </ProjectReference>
28
    <ProjectReference Include="..\..\Compilers\Test\Resources\Core\CompilerTestResources.csproj">
P
Pilchie 已提交
29 30 31 32 33 34 35
      <Project>{7FE6B002-89D8-4298-9B1B-0B5C247DD1FD}</Project>
      <Name>CompilerTestResources</Name>
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\Test\Utilities\Core2\CompilerTestUtilities2.csproj">
      <Project>{F7712928-1175-47B3-8819-EE086753DEE2}</Project>
      <Name>CompilerTestUtilities2</Name>
    </ProjectReference>
36
    <ProjectReference Include="..\..\Compilers\VisualBasic\Portable\BasicCodeAnalysis.vbproj">
P
Pilchie 已提交
37 38 39 40 41 42
      <Project>{2523D0E6-DF32-4A3E-8AE0-A19BFFAE2EF6}</Project>
      <Name>BasicCodeAnalysis</Name>
    </ProjectReference>
    <ProjectReference Include="..\PdbUtilities\PdbUtilities.csproj">
      <Project>{AFDE6BEA-5038-4A4A-A88E-DBD2E4088EED}</Project>
      <Name>PdbUtilities</Name>
43
      <Aliases>PDB</Aliases>
P
Pilchie 已提交
44 45 46
    </ProjectReference>
  </ItemGroup>
  <ItemGroup Label="File References">
47 48
    <Reference Include="..\..\..\packages\System.Reflection.Metadata.$(SystemReflectionMetadataVersion)\lib\portable-net45+win8\System.Reflection.Metadata.dll" />
    <Reference Include="..\..\..\packages\System.Collections.Immutable.$(SystemCollectionsImmutableVersion)\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll" />
49
    <Reference Include="..\..\..\packages\Microsoft.DiaSymReader.1.0.5\lib\net45\Microsoft.DiaSymReader.dll" />
P
Pilchie 已提交
50 51 52 53 54 55 56 57 58
  </ItemGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM' ">
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
J
Jared Parsons 已提交
59
    <DefineConstants>$(DefineConstants);ARM</DefineConstants>
P
Pilchie 已提交
60 61 62 63
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM' ">
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
J
Jared Parsons 已提交
64
    <DefineConstants>$(DefineConstants);ARM</DefineConstants>
P
Pilchie 已提交
65 66
    <PlatformTarget>ARM</PlatformTarget>
  </PropertyGroup>
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
    <DebugSymbols>true</DebugSymbols>
    <OutDir>..\..\..\Binaries\Debug\amd64</OutDir>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
    <NoWarn>1591</NoWarn>
    <DebugType>full</DebugType>
    <PlatformTarget>x64</PlatformTarget>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
    <OutDir>..\..\..\Binaries\Release\amd64</OutDir>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <Optimize>true</Optimize>
    <NoWarn>1591</NoWarn>
    <DebugType>pdbonly</DebugType>
    <PlatformTarget>x64</PlatformTarget>
    <ErrorReport>prompt</ErrorReport>
    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  </PropertyGroup>
P
Pilchie 已提交
88
  <ItemGroup>
89
    <Reference Include="Microsoft.CodeAnalysis.Test.Resources.Proprietary, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
90
      <SpecificVersion>False</SpecificVersion>
91
      <HintPath>..\..\..\packages\Microsoft.CodeAnalysis.Test.Resources.Proprietary.1.1.0-beta1-20150716-05\lib\net45\Microsoft.CodeAnalysis.Test.Resources.Proprietary.dll</HintPath>
92
    </Reference>
93 94 95
    <Reference Include="xunit">
      <HintPath>..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll</HintPath>
    </Reference>
P
Pilchie 已提交
96 97
    <Reference Include="System" />
    <Reference Include="System.Core" />
98
    <Reference Include="System.Xml" />
P
Pilchie 已提交
99 100 101 102 103
    <Reference Include="System.Xml.Linq" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssertEx.cs" />
    <Compile Include="CLRHelpers.cs" />
104
    <Compile Include="CommonDiagnosticAnalyzers.cs" />
P
Pilchie 已提交
105 106 107 108 109 110
    <Compile Include="CommonTestBase.CompilationVerifier.cs" />
    <Compile Include="CommonTestBase.cs" />
    <Compile Include="CompilationDifference.cs" />
    <Compile Include="CompilationExtensions.cs" />
    <Compile Include="ConditionalFactAttribute.cs" />
    <Compile Include="ConsoleOutput.cs" />
111
    <Compile Include="CultureContext.cs" />
P
Pilchie 已提交
112
    <Compile Include="DiagnosticDescription.cs" />
113
    <Compile Include="DescriptorFactory.cs" />
P
Pilchie 已提交
114 115 116 117
    <Compile Include="DiagnosticExtensions.cs" />
    <Compile Include="DiffUtil.cs" />
    <Compile Include="DisposableDirectory.cs" />
    <Compile Include="DisposableFile.cs" />
118
    <Compile Include="EncodingUtilities.cs" />
P
Pilchie 已提交
119 120 121 122 123 124
    <Compile Include="EqualityUnit.cs" />
    <Compile Include="EqualityUnit`1.cs" />
    <Compile Include="EqualityUtil.cs" />
    <Compile Include="EqualityUtil`1.cs" />
    <Compile Include="ErrorDiagnostics.cs" />
    <Compile Include="EventWaiter.cs" />
125
    <Compile Include="EnsureEnglishUICulture.cs" />
P
Pilchie 已提交
126 127 128
    <Compile Include="HostedRuntimeEnvironment.cs" />
    <Compile Include="ILBuilderVisualizer.cs" />
    <Compile Include="ImmutableArrayTestExtensions.cs" />
129
    <Compile Include="SourceWithMarkedNodes.cs" />
P
Pilchie 已提交
130
    <Compile Include="MarkupTestFile.cs" />
131
    <Compile Include="MetadataCacheTestHelpers.cs" />
P
Pilchie 已提交
132 133 134 135 136 137
    <Compile Include="MetadataReader\CustomAttributeRow.cs" />
    <Compile Include="MetadataReader\EncValidation.cs" />
    <Compile Include="MetadataReader\MetadataReaderUtils.cs" />
    <Compile Include="MetadataReader\TypeAttributesMissing.cs" />
    <Compile Include="MetadataSignatureHelper.cs" />
    <Compile Include="MetadataSignatureUnitTestHelper.cs" />
138
    <Compile Include="MockSymWriter.cs" />
P
Pilchie 已提交
139
    <Compile Include="ObjectReference.cs" />
140
    <Compile Include="PdbTestUtilities.cs" />
P
Pilchie 已提交
141 142 143 144
    <Compile Include="PinnedMetadata.cs" />
    <Compile Include="ProcessLauncher.cs" />
    <Compile Include="ProcessResult.cs" />
    <Compile Include="ReflectionAssert.cs" />
145
    <Compile Include="RegexExtensions.cs" />
P
Pilchie 已提交
146 147 148 149 150 151 152 153
    <Compile Include="SharedCompilationUtils.cs" />
    <Compile Include="SigningTestHelpers.cs" />
    <Compile Include="StringExtensions.cs" />
    <Compile Include="TempDirectory.cs" />
    <Compile Include="TempFile.cs" />
    <Compile Include="TempRoot.cs" />
    <Compile Include="TestBase.cs" />
    <Compile Include="TestHelpers.cs" />
154
    <Compile Include="TestMetadataReference.cs" />
P
Pilchie 已提交
155
    <Compile Include="TestMessageProvider.cs" />
156
    <Compile Include="TestMetadataReferenceResolver.cs" />
P
Pilchie 已提交
157 158 159 160 161 162 163 164 165 166 167
    <Compile Include="TestResource.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>TestResource.resx</DependentUpon>
    </Compile>
    <Compile Include="TestStream.cs" />
    <Compile Include="TokenUtilities.cs" />
    <Compile Include="TraceListener.cs" />
    <Compile Include="Traits.cs" />
    <Compile Include="Win32Res.cs" />
    <Compile Include="WorkItemAttribute.cs" />
T
Tomas Matousek 已提交
168
    <Compile Include="AssertXml.cs" />
P
Pilchie 已提交
169 170 171 172 173 174
  </ItemGroup>
  <ItemGroup>
    <EmbeddedResource Include="TestResource.resx">
      <Generator>PublicResXFileCodeGenerator</Generator>
      <LastGenOutput>TestResource.Designer.cs</LastGenOutput>
      <CustomToolNamespace>Roslyn.Test.Utilities</CustomToolNamespace>
175
      <SubType>Designer</SubType>
P
Pilchie 已提交
176 177 178 179 180
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.CommandLine.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.Emit.UnitTests" />
A
Andy Gocke 已提交
181
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.WinRT.UnitTests" />
P
Pilchie 已提交
182 183 184 185 186 187 188 189 190 191 192 193 194
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.EnC.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.Semantic.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.Symbol.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.Syntax.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.CSharp.Test.Utilities" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.CommandLine.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.Emit.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.EnC.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.Semantic.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.Symbol.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.Syntax.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Compilers.VisualBasic.Test.Utilities" />
A
acasey 已提交
195 196
    <InternalsVisibleToTest Include="Roslyn.ExpressionEvaluator.CSharp.ExpressionCompiler.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.ExpressionEvaluator.CSharp.ResultProvider.UnitTests" />
A
acasey 已提交
197
    <InternalsVisibleToTest Include="Roslyn.ExpressionEvaluator.ExpressionCompiler.Test.Utilities" />
A
acasey 已提交
198 199
    <InternalsVisibleToTest Include="Roslyn.ExpressionEvaluator.VisualBasic.ExpressionCompiler.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.ExpressionEvaluator.VisualBasic.ResultProvider.UnitTests" />
P
Pilchie 已提交
200
    <InternalsVisibleToTest Include="Roslyn.InteractiveHost.UnitTests" />
201 202 203
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.Scripting.UnitTests" />
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.Scripting.CSharp.UnitTests" />
    <InternalsVisibleToTest Include="Microsoft.CodeAnalysis.Scripting.VisualBasic.UnitTests" />
P
Pilchie 已提交
204 205
    <InternalsVisibleToTest Include="Roslyn.Services.Editor.UnitTests" />
    <InternalsVisibleToTest Include="Roslyn.Services.Test.Utilities" />
206
    <InternalsVisibleToTest Include="Roslyn.Services.UnitTests" />
P
Pilchie 已提交
207 208 209
  </ItemGroup>
  <ItemGroup>
    <None Include="App.config" />
210
    <None Include="packages.config" />
P
Pilchie 已提交
211 212
  </ItemGroup>
  <ImportGroup Label="Targets">
A
Andy Gocke 已提交
213 214
    <Import Project="..\..\..\build\Targets\VSL.Imports.targets" />
    <Import Project="..\..\..\build\Targets\Roslyn.Toolsets.Xunit.targets" />
K
kayleh 已提交
215
    <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
P
Pilchie 已提交
216
  </ImportGroup>
T
Tomas Matousek 已提交
217
</Project>