VisualStudioSetup.csproj 14.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<?xml version="1.0" encoding="utf-8"?>
<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" />
    <Import Project="..\..\..\build\VSL.Settings.Closed.targets" />
  </ImportGroup>
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <ProjectGuid>{201EC5B7-F91E-45E5-B9F2-67A266CCE6FC}</ProjectGuid>
    <OutputType>Library</OutputType>
B
beep boop 已提交
13 14
    <RootNamespace>Roslyn.VisualStudio.Setup</RootNamespace>
    <AssemblyName>Roslyn.VisualStudio.Setup</AssemblyName>
15
    <GeneratePkgDefFile>true</GeneratePkgDefFile>
B
beep boop 已提交
16
    <UseCodebase>true</UseCodebase>
17
    <VSSDKTargetPlatformRegRootSuffix>RoslynDev</VSSDKTargetPlatformRegRootSuffix>
18
    <IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
19 20 21 22 23 24
    <IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
    <IncludeDebugSymbolsInLocalVSIXDeployment>false</IncludeDebugSymbolsInLocalVSIXDeployment>
    <MinimumVisualStudioVersion>$(VisualStudioVersion)</MinimumVisualStudioVersion>
    <ImportVSSDKTargets>true</ImportVSSDKTargets>
    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
    <RestorePackages>true</RestorePackages>
25
    <TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
26
  </PropertyGroup>
B
beep boop 已提交
27
  <PropertyGroup Condition="'$(OfficialBuild)' == 'true'">
J
Jared Parsons 已提交
28
    <DefineConstants>$(DefineConstants);OFFICIAL_BUILD</DefineConstants>
B
beep boop 已提交
29
  </PropertyGroup>
30
  <ItemGroup Label="Project References">
31 32 33 34
    <ProjectReference Include="..\..\Compilers\Core\MSBuildTask\MSBuildTask.csproj">
      <Project>{d874349c-8bb3-4bdc-8535-2d52ccca1198}</Project>
      <Name>MSBuildTask</Name>
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
35
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
36
      <Private>true</Private>
37
    </ProjectReference>
38 39 40
    <ProjectReference Include="..\..\Compilers\Core\Portable\CodeAnalysis.csproj">
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
41
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
42
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
43 44 45 46
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\CSharp\Portable\CSharpCodeAnalysis.csproj">
      <Project>{B501A547-C911-4A05-AC6E-274A50DFF30E}</Project>
      <Name>CSharpCodeAnalysis</Name>
47
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
48
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
49 50 51 52
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\VisualBasic\Portable\BasicCodeAnalysis.vbproj">
      <Project>{2523D0E6-DF32-4A3E-8AE0-A19BFFAE2EF6}</Project>
      <Name>BasicCodeAnalysis</Name>
53
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
54
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
55 56 57 58
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\Core\Desktop\Workspaces.Desktop.csproj">
      <Project>{2e87fa96-50bb-4607-8676-46521599f998}</Project>
      <Name>Workspaces.Desktop</Name>
59
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
60
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
61 62 63 64
    </ProjectReference>
    <ProjectReference Include="..\..\Features\VisualBasic\BasicFeatures.vbproj">
      <Project>{A1BCD0CE-6C2F-4F8C-9A48-D9D93928E26D}</Project>
      <Name>BasicFeatures</Name>
65
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
66
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
67 68 69 70
    </ProjectReference>
    <ProjectReference Include="..\..\Features\CSharp\CSharpFeatures.csproj">
      <Project>{3973B09A-4FBF-44A5-8359-3D22CEB71F71}</Project>
      <Name>CSharpFeatures</Name>
71
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
72
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
73 74 75 76
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\CSharp\CSharpEditorFeatures.csproj">
      <Project>{B0CE9307-FFDB-4838-A5EC-CE1F7CDC4AC2}</Project>
      <Name>CSharpEditorFeatures</Name>
77
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
78
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
79 80 81 82
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\Core\EditorFeatures.csproj">
      <Project>{3CDEEAB7-2256-418A-BEB2-620B5CB16302}</Project>
      <Name>EditorFeatures</Name>
83
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
84
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
85 86 87 88
    </ProjectReference>
    <ProjectReference Include="..\..\Features\Core\Features.csproj">
      <Project>{EDC68A0E-C68D-4A74-91B7-BF38EC909888}</Project>
      <Name>Features</Name>
89
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
90
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
91 92 93 94
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\Text\TextEditorFeatures.csproj">
      <Project>{18F5FBB8-7570-4412-8CC7-0A86FF13B7BA}</Project>
      <Name>TextEditorFeatures</Name>
95
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
96
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
97 98 99 100
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\VisualBasic\BasicEditorFeatures.vbproj">
      <Project>{49BFAE50-1BCE-48AE-BC89-78B7D90A3ECD}</Project>
      <Name>BasicEditorFeatures</Name>
101
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
102
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
103 104 105 106
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\Core\Portable\Workspaces.csproj">
      <Project>{5F8D2414-064A-4B3A-9B42-8E2A04246BE5}</Project>
      <Name>Workspaces</Name>
107
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
108
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
109 110 111 112
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\CSharp\Portable\CSharpWorkspace.csproj">
      <Project>{21B239D0-D144-430F-A394-C066D58EE267}</Project>
      <Name>CSharpWorkspace</Name>
113
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
114
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
115 116 117 118
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\VisualBasic\Portable\BasicWorkspace.vbproj">
      <Project>{57CA988D-F010-4BF2-9A2E-07D6DCD2FF2C}</Project>
      <Name>BasicWorkspace</Name>
119
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
120
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
121
    </ProjectReference>
B
beep boop 已提交
122
    <ProjectReference Include="..\Core\Def\ServicesVisualStudio.csproj">
123 124
      <Project>{86FD5B9A-4FA0-4B10-B59F-CFAF077A859C}</Project>
      <Name>ServicesVisualStudio</Name>
125
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;PkgDefProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
126
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
127
    </ProjectReference>
B
beep boop 已提交
128 129 130
    <ProjectReference Include="..\Core\Impl\ServicesVisualStudioImpl.csproj">
      <Project>{c0e80510-4fbe-4b0c-af2c-4f473787722c}</Project>
      <Name>ServicesVisualStudioImpl</Name>
131
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
132
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
B
beep boop 已提交
133 134 135 136
    </ProjectReference>
    <ProjectReference Include="..\Core\SolutionExplorerShim\SolutionExplorerShim.csproj">
      <Project>{7BE3DEEB-87F8-4E15-9C21-4F94B0B1C2D6}</Project>
      <Name>SolutionExplorerShim</Name>
137
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
138
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
B
beep boop 已提交
139 140 141 142
    </ProjectReference>
    <ProjectReference Include="..\CSharp\Impl\CSharpVisualStudio.csproj">
      <Project>{5defadbd-44eb-47a2-a53e-f1282cc9e4e9}</Project>
      <Name>CSharpVisualStudio</Name>
143
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bPkgDefProjectOutputGroup%3bContentFilesProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
144
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
B
beep boop 已提交
145 146 147 148
    </ProjectReference>
    <ProjectReference Include="..\VisualBasic\Impl\BasicVisualStudio.vbproj">
      <Project>{d49439d7-56d2-450f-a4f0-74cb95d620e6}</Project>
      <Name>BasicVisualStudio</Name>
149
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bPkgDefProjectOutputGroup%3bContentFilesProjectOutputGroup</IncludeOutputGroupsInVSIX>
A
Andrew Casey 已提交
150
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
B
beep boop 已提交
151 152 153 154
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Telemetry" />
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
  </ItemGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
  </PropertyGroup>
  <PropertyGroup>
    <StartAction>Program</StartAction>
    <StartProgram>$(DevEnvDir)devenv.exe</StartProgram>
    <StartArguments>/rootsuffix RoslynDev /log</StartArguments>
  </PropertyGroup>
  <ItemGroup>
    <None Include="packages.config" />
    <None Include="source.extension.vsixmanifest">
      <SubType>Designer</SubType>
    </None>
  </ItemGroup>
  <ItemGroup>
A
Andrew Casey 已提交
172 173 174 175 176 177
    <Reference Include="Microsoft.VisualStudio.ComponentModelHost, Version=$(VisualStudioReferenceAssemblyVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=$(VisualStudioReferenceAssemblyVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
178 179 180
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
      <EmbedInteropTypes>True</EmbedInteropTypes>
    </Reference>
A
Andrew Casey 已提交
181 182
    <Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
    <Reference Include="Microsoft.VisualStudio.Shell.Immutable.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"><Private>false</Private></Reference>
183
    <Reference Include="System" />
184 185 186 187
    <Reference Include="Esent.Interop">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\packages\ManagedEsent.1.9.2.0\lib\net40\Esent.Interop.dll</HintPath>
    </Reference>
188 189
    <Reference Include="System.Collections.Immutable">
      <SpecificVersion>False</SpecificVersion>
190
      <HintPath>..\..\..\packages\System.Collections.Immutable.$(SystemCollectionsImmutableVersion)\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath>
191
      <Private>True</Private>
192 193
      <!-- Included in the VSIX because it makes our setup authoring (DevDivInsertionFiles) easier. -->
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
194 195 196
    </Reference>
    <Reference Include="System.Reflection.Metadata">
      <SpecificVersion>False</SpecificVersion>
197
      <HintPath>..\..\..\packages\System.Reflection.Metadata.$(SystemReflectionMetadataVersion)\lib\portable-net45+win8\System.Reflection.Metadata.dll</HintPath>
198 199
      <!-- Included in the VSIX because it makes our setup authoring (DevDivInsertionFiles) easier. -->
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
200
    </Reference>
201
    <Reference Include="System.Composition.Convention">
202
      <SpecificVersion>False</SpecificVersion>
203
      <HintPath>..\..\..\packages\Microsoft.Composition.$(MicrosoftCompositionVersion)\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
204 205
      <!-- Included in the VSIX because it makes our setup authoring (DevDivInsertionFiles) easier. -->
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
206
    </Reference>
207
    <Reference Include="System.Composition.Hosting">
208
      <SpecificVersion>False</SpecificVersion>
209
      <HintPath>..\..\..\packages\Microsoft.Composition.$(MicrosoftCompositionVersion)\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
210 211
      <!-- Included in the VSIX because it makes our setup authoring (DevDivInsertionFiles) easier. -->
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
212
    </Reference>
213
    <Reference Include="System.Composition.TypedParts">
214
      <SpecificVersion>False</SpecificVersion>
215
      <HintPath>..\..\..\packages\Microsoft.Composition.$(MicrosoftCompositionVersion)\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
216 217
      <!-- Included in the VSIX because it makes our setup authoring (DevDivInsertionFiles) easier. -->
      <ForceIncludeInVSIX>true</ForceIncludeInVSIX>
218
    </Reference>
219 220 221
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyRedirects.cs" Condition="('$(AssemblyVersion)' == '42.42.42.42') or ('$(OfficialBuild)' == 'true')" />
J
Jason Malinowski 已提交
222 223 224
    <Content Include="BindingPath.pkgdef">
      <IncludeInVSIX>true</IncludeInVSIX>
    </Content>
225 226 227 228 229 230
  </ItemGroup>
  <ImportGroup Label="Targets">
    <Import Project="..\..\Tools\Microsoft.CodeAnalysis.Toolset.Open\Targets\VSL.Imports.targets" />
    <Import Project="..\..\..\build\VSL.Imports.Closed.targets" />
    <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
  </ImportGroup>
J
Jared Parsons 已提交
231
</Project>