Microsoft.VisualStudio.LanguageServices.csproj 17.8 KB
Newer Older
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. -->
3
<Project Sdk="Microsoft.NET.Sdk">
4
  <PropertyGroup>
5
    <Platform Condition="'$(Platform)' == ''">AnyCPU</Platform>
6
    <PlatformTarget>AnyCPU</PlatformTarget>
7 8 9
    <OutputType>Library</OutputType>
    <RootNamespace>Microsoft.VisualStudio.LanguageServices</RootNamespace>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10
    <TargetFramework>net46</TargetFramework>
11 12 13 14
    <!-- This project includes the VS SDK targets so we can produce a .pkgdef, but should not produce a .vsix or anything related to it -->
    <ImportVSSDKTargets>true</ImportVSSDKTargets>
    <CreateVsixContainer>false</CreateVsixContainer>
    <DeployExtension>false</DeployExtension>
C
CyrusNajmabadi 已提交
15
    <ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>None</ResolveAssemblyWarnOrErrorOnTargetArchitectureMismatch>
T
Tomáš Matoušek 已提交
16 17 18 19 20 21

    <!-- NuGet -->
    <IsPackable>true</IsPackable>
    <PackageDescription>
      .NET Compiler Platform ("Roslyn") support for Visual Studio.
    </PackageDescription>
22
  </PropertyGroup>
23 24
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
25
  <ItemGroup Label="Build Items">
26 27 28
    <Compile Include="..\..\..\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs">
      <Link>Shared\ConcurrentLruCache.cs</Link>
    </Compile>
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\ClientDirectStream.cs">
      <Link>Shared\ClientDirectStream.cs</Link>
    </Compile>
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\Extensions.cs">
      <Link>Shared\Extensions.cs</Link>
    </Compile>
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\RoslynJsonConverter.cs">
      <Link>Shared\RoslynJsonConverter.cs</Link>
    </Compile>
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\RoslynJsonConverter.RoslynOnly.cs">
      <Link>Shared\RoslynJsonConverter.RoslynOnly.cs</Link>
    </Compile>
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\RoslynJsonConverter.SolutionIdConverters.cs">
      <Link>Shared\RoslynJsonConverter.SolutionIdConverters.cs</Link>
    </Compile>
    <Compile Include="..\..\..\Workspaces\Remote\ServiceHub\Shared\ServerDirectStream.cs">
      <Link>Shared\ServerDirectStream.cs</Link>
    </Compile>
J
Jared Parsons 已提交
47
    <Compile Include="..\..\..\Compilers\Shared\ShadowCopyAnalyzerAssemblyLoader.cs">
T
Tom Meschter 已提交
48 49
      <Link>InternalUtilities\ShadowCopyAnalyzerAssemblyLoader.cs</Link>
    </Compile>
50
    <Compile Include="..\..\..\ExpressionEvaluator\Core\Source\ExpressionCompiler\DkmExceptionUtilities.cs" Link="Implementation\EditAndContinue\Interop\DkmExceptionUtilities.cs" />
51
    <Compile Update="Implementation\PickMembers\PickMembersDialog.xaml.cs">
52 53
      <DependentUpon>PickMembersDialog.xaml</DependentUpon>
    </Compile>
54
    <Compile Update="Implementation\Workspace\DetailedErrorInfoDialog.xaml.cs">
J
Jonathon Marolf 已提交
55 56
      <DependentUpon>DetailedErrorInfoDialog.xaml</DependentUpon>
    </Compile>
57
    <Compile Update="ServicesVSResources.Designer.cs">
58 59 60 61
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>ServicesVSResources.resx</DependentUpon>
    </Compile>
62
    <Compile Update="VSPackage.Designer.cs">
63 64 65 66
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>VSPackage.resx</DependentUpon>
    </Compile>
67 68
  </ItemGroup>
  <ItemGroup Label="Project References">
J
Jared Parsons 已提交
69
    <ProjectReference Include="..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" />
T
Tomáš Matoušek 已提交
70 71
    <!-- PrivateAssets due to https://github.com/dotnet/roslyn/issues/29292 -->
    <ProjectReference Include="..\..\..\Workspaces\Core\Desktop\Microsoft.CodeAnalysis.Workspaces.Desktop.csproj" PrivateAssets="all" />
J
Jared Parsons 已提交
72 73 74 75 76
    <ProjectReference Include="..\..\..\EditorFeatures\Core\Microsoft.CodeAnalysis.EditorFeatures.csproj" />
    <ProjectReference Include="..\..\..\EditorFeatures\Core.Wpf\Microsoft.CodeAnalysis.EditorFeatures.Wpf.csproj" />
    <ProjectReference Include="..\..\..\Workspaces\Core\Portable\Microsoft.CodeAnalysis.Workspaces.csproj" />
    <ProjectReference Include="..\..\..\Features\Core\Portable\Microsoft.CodeAnalysis.Features.csproj" />
    <ProjectReference Include="..\..\..\EditorFeatures\Text\Microsoft.CodeAnalysis.EditorFeatures.Text.csproj" />
77 78 79 80 81
  </ItemGroup>
  <ItemGroup Label="File References">
    <Reference Include="System.ComponentModel.Composition" />
  </ItemGroup>
  <ItemGroup>
T
Tanner Gooding 已提交
82
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.LiveUnitTesting.BuildManager" />
83
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.UnitTesting.SourceBasedTestDiscovery" />
84 85 86
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.CSharp" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Implementation" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.SolutionExplorer" />
87
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.ExternalDependencyServices" />
88
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.VisualBasic" />
M
Marco Goertz 已提交
89
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Xaml" />
90 91
    <InternalsVisibleTo Include="Microsoft.VisualStudio.CSharp.Repl" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.InteractiveServices" />
92
    <InternalsVisibleTo Include="Roslyn.VisualStudio.Setup" />
93
    <InternalsVisibleTo Include="Microsoft.VisualStudio.VisualBasic.Repl" />
94
    <InternalsVisibleTo Include="Roslyn.VisualStudio.DiagnosticsWindow" />
T
Tomas Matousek 已提交
95
    <InternalsVisibleTo Include="Roslyn.VisualStudio.RemoteHostClientMock" />
96 97 98 99
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed.VS" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.CSharp" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.VisualBasic" />
100 101 102
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests" />
    <!-- <TODO> remove, once project system is updated https://github.com/dotnet/roslyn/issues/20320 -->
T
Tomas Matousek 已提交
103 104
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ProjectSystem.Managed.VS.UnitTests" />
105
    <!-- </TODO> -->
T
Tomas Matousek 已提交
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.UnitTests" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Test.Utilities2" />
    <InternalsVisibleTo Include="RoslynETAHost" />
    <InternalsVisibleTo Include="RoslynTaoActions" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.ErrorList.UnitTests" />
    <InternalsVisibleTo Include="Roslyn.VisualStudio.Next.UnitTests" />
    <InternalsVisibleTo Include="DynamicProxyGenAssembly2" Key="$(MoqPublicKey)" />
    <InternalsVisibleTo Include="Microsoft.CodeAnalysis.TypeScript.EditorFeatures" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.TypeScript" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="Roslyn.Services.Editor.TypeScript.UnitTests" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="ManagedSourceCodeAnalysis" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="CodeAnalysis" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="StanCore" Key="$(TypeScriptKey)" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote" Key="$(RemoteLanguageServiceKey)" />
121 122
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote.15.7" Key="$(RemoteLanguageServiceKey)" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote.15.8" Key="$(RemoteLanguageServiceKey)" />
T
Tomas Matousek 已提交
123
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote.CSharp" Key="$(RemoteLanguageServiceKey)" />
124 125
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote.CSharp.15.7" Key="$(RemoteLanguageServiceKey)" />
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Remote.CSharp.15.8" Key="$(RemoteLanguageServiceKey)" />
T
Tomas Matousek 已提交
126 127
    <InternalsVisibleTo Include="FSharp.Editor" Key="$(FSharpKey)" />
    <InternalsVisibleTo Include="FSharp.LanguageService" Key="$(FSharpKey)" />
128
  </ItemGroup>
129 130 131
  <ItemGroup>
    <None Include="ManagedEditAndContinueService.vsdconfigxml" />
  </ItemGroup>
132 133 134 135 136 137 138 139
  <ItemGroup>
    <Reference Include="Microsoft.CSharp" />
    <Reference Include="PresentationCore" />
    <Reference Include="PresentationFramework" />
    <Reference Include="System" />
    <Reference Include="System.Core" />
    <Reference Include="System.Design" />
    <Reference Include="System.Drawing" />
140
    <Reference Include="System.Runtime.Serialization" />
141 142 143 144
    <Reference Include="System.Windows.Forms" />
    <Reference Include="System.Xaml" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
D
David Poeschl 已提交
145 146
    <Reference Include="UIAutomationProvider" />
    <Reference Include="UIAutomationTypes" />
147 148
    <Reference Include="WindowsBase" />
    <Reference Include="WindowsFormsIntegration" />
149 150 151
    <PackageReference Include="EnvDTE" Version="$(EnvDTEVersion)" />
    <PackageReference Include="EnvDTE80" Version="$(EnvDTE80Version)" />
    <PackageReference Include="Microsoft.CodeAnalysis.Elfie" Version="$(MicrosoftCodeAnalysisElfieVersion)" />
152
    <PackageReference Include="Microsoft.ServiceHub.Client" Version="$(MicrosoftServiceHubClientVersion)" />
153
    <PackageReference Include="Microsoft.VisualStudio.Debugger.Engine" Version="$(MicrosoftVisualStudioDebuggerEngineVersion)" />
154
    <PackageReference Include="Microsoft.VisualStudio.Debugger.UI.Interfaces" Version="$(MicrosoftVisualStudioDebuggerUIInterfacesVersion)" />
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
    <PackageReference Include="Microsoft.VisualStudio.Telemetry" Version="$(MicrosoftVisualStudioTelemetryVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.RemoteControl" Version="$(MicrosoftVisualStudioRemoteControlVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.OLE.Interop" Version="$(MicrosoftVisualStudioOLEInteropVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Interop.10.0" Version="$(MicrosoftVisualStudioShellInterop100Version)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Interop.11.0" Version="$(MicrosoftVisualStudioShellInterop110Version)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Interop.12.1.DesignTime" Version="$(MicrosoftVisualStudioShellInterop121DesignTimeVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.15.0" Version="$(MicrosoftVisualStudioShell150Version)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Framework" Version="$(MicrosoftVisualStudioShellFrameworkVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Immutable.10.0" Version="$(MicrosoftVisualStudioShellImmutable100Version)" />
    <PackageReference Include="Microsoft.VisualStudio.Editor" Version="$(MicrosoftVisualStudioEditorVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Language.StandardClassification" Version="$(MicrosoftVisualStudioLanguageStandardClassificationVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Language.Intellisense" Version="$(MicrosoftVisualStudioLanguageIntellisenseVersion)" />
    <PackageReference Include="Microsoft.Internal.VisualStudio.Shell.Interop.14.0.DesignTime" Version="$(MicrosoftInternalVisualStudioShellInterop140DesignTimeVersion)" />
    <PackageReference Include="Microsoft.Internal.Performance.CodeMarkers.DesignTime" Version="$(MicrosoftInternalPerformanceCodeMarkersDesignTimeVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Progression.CodeSchema" Version="$(MicrosoftVisualStudioProgressionCodeSchemaVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Progression.Common" Version="$(MicrosoftVisualStudioProgressionCommonVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Progression.Interfaces" Version="$(MicrosoftVisualStudioProgressionInterfacesVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.GraphModel" Version="$(MicrosoftVisualStudioGraphModelVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.CallHierarchy.Package.Definitions" Version="$(MicrosoftVisualStudioCallHierarchyPackageDefinitionsVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Language.CallHierarchy" Version="$(MicrosoftVisualStudioLanguageCallHierarchyVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.ComponentModelHost" Version="$(MicrosoftVisualStudioComponentModelHostVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Diagnostics.PerformanceProvider" Version="$(MicrosoftVisualStudioDiagnosticsPerformanceProviderVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Shell.Design" Version="$(MicrosoftVisualStudioShellDesignVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.Language.NavigateTo.Interfaces" Version="$(MicrosoftVisualStudioLanguageNavigateToInterfacesVersion)" />
    <PackageReference Include="Microsoft.VisualStudio.TextManager.Interop.10.0" Version="$(MicrosoftVisualStudioTextManagerInterop100Version)" />
    <PackageReference Include="Microsoft.VisualStudio.TextManager.Interop.12.0" Version="$(MicrosoftVisualStudioTextManagerInterop120Version)" />
    <PackageReference Include="Microsoft.VisualStudio.TextManager.Interop.12.1.DesignTime" Version="$(MicrosoftVisualStudioTextManagerInterop121DesignTimeVersion)" />
J
Jonathon Marolf 已提交
182
    <PackageReference Include="Microsoft.VisualStudio.Threading" Version="$(MicrosoftVisualStudioThreadingVersion)" />
183 184 185 186
    <PackageReference Include="Microsoft.VisualStudio.Designer.Interfaces" Version="$(MicrosoftVisualStudioDesignerInterfacesVersion)" />
    <PackageReference Include="Microsoft.DiaSymReader" Version="$(MicrosoftDiaSymReaderVersion)" />
    <PackageReference Include="Microsoft.MSXML" Version="$(MicrosoftMSXMLVersion)" />
    <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
187
    <PackageReference Include="StreamJsonRpc" Version="$(StreamJsonRpcVersion)" />
188 189 190 191 192 193 194
    <PackageReference Include="VSLangProj" Version="$(VSLangProjVersion)" />
    <PackageReference Include="VSLangProj2" Version="$(VSLangProj2Version)" />
    <PackageReference Include="VSLangProj80" Version="$(VSLangProj80Version)" />
    <PackageReference Include="VSLangProj140" Version="$(VSLangProj140Version)" />
    <PackageReference Include="VsWebsite.Interop" Version="$(VsWebsiteInteropVersion)" />
    <PackageReference Include="NuGet.VisualStudio" Version="$(NuGetVisualStudioVersion)" />
    <PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
195
    <PackageReference Include="Microsoft.VisualStudio.SDK.EmbedInteropTypes" Version="$(MicrosoftVisualStudioSDKEmbedInteropTypesVersion)" />
196 197
  </ItemGroup>
  <ItemGroup>
198
    <Compile Update="Implementation\ChangeSignature\ChangeSignatureDialog.xaml.cs">
199 200
      <DependentUpon>ChangeSignatureDialog.xaml</DependentUpon>
    </Compile>
201
    <Compile Update="Implementation\PreviewPane\PreviewPane.xaml.cs">
202 203
      <DependentUpon>PreviewPane.xaml</DependentUpon>
    </Compile>
204
    <Compile Update="Implementation\ExtractInterface\ExtractInterfaceDialog.xaml.cs">
205 206
      <DependentUpon>ExtractInterfaceDialog.xaml</DependentUpon>
    </Compile>
207
    <Compile Update="Implementation\GenerateType\GenerateTypeDialog.xaml.cs">
208 209 210 211 212 213 214 215
      <DependentUpon>GenerateTypeDialog.xaml</DependentUpon>
    </Compile>
  </ItemGroup>
  <ItemGroup>
    <Page Include="Implementation\ChangeSignature\ChangeSignatureDialog.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
216 217 218 219
    <Page Include="Implementation\PickMembers\PickMembersDialog.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
220 221 222 223 224 225 226 227 228 229 230 231
    <Page Include="Implementation\PreviewPane\PreviewPane.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Implementation\ExtractInterface\ExtractInterfaceDialog.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
    <Page Include="Implementation\GenerateType\GenerateTypeDialog.xaml">
      <SubType>Designer</SubType>
      <Generator>MSBuild:Compile</Generator>
    </Page>
J
Jonathon Marolf 已提交
232 233 234 235
    <Page Include="Implementation\Workspace\DetailedErrorInfoDialog.xaml">
      <Generator>MSBuild:Compile</Generator>
      <SubType>Designer</SubType>
    </Page>
236 237
  </ItemGroup>
  <ItemGroup>
238
    <EmbeddedResource Update="ServicesVSResources.resx">
239 240 241 242
      <Generator>ResXFileCodeGenerator</Generator>
      <SubType>Designer</SubType>
      <LastGenOutput>ServicesVSResources.Designer.cs</LastGenOutput>
    </EmbeddedResource>
243
    <EmbeddedResource Update="VSPackage.resx">
244 245 246 247 248
      <MergeWithCTO>true</MergeWithCTO>
      <ManifestResourceName>VSPackage</ManifestResourceName>
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>VSPackage.Designer.cs</LastGenOutput>
    </EmbeddedResource>
249 250
  </ItemGroup>
  <ItemGroup>
J
Jared Parsons 已提交
251
    <PublicAPI Include="PublicAPI.Shipped.txt" />
252
    <PublicAPI Include="PublicAPI.Unshipped.txt" />
253
  </ItemGroup>
254 255 256 257 258 259
  <ItemGroup>
    <VSCTCompile Include="Commands.vsct">
      <ResourceName>Menus.ctmenu</ResourceName>
      <SubType>Designer</SubType>
    </VSCTCompile>
  </ItemGroup>
260 261 262
  <ItemGroup>
    <VsdConfigXml Include="ManagedEditAndContinueService.vsdconfigxml" />
  </ItemGroup>
263
  <Import Project="..\..\..\Dependencies\CodeAnalysis.Debugging\Microsoft.CodeAnalysis.Debugging.projitems" Label="Shared" />
264
  <Import Project="..\..\..\..\build\Targets\Vsdconfig.targets" />
J
Jared Parsons 已提交
265
</Project>