VisualStudioSetup.csproj 14.2 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>
B
beep boop 已提交
18
    <IncludeAssemblyInVSIXContainer>true</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 31 32 33
  <ItemGroup Label="Project References">
    <ProjectReference Include="..\..\Compilers\Core\Portable\CodeAnalysis.csproj">
      <Project>{1EE8CAD3-55F9-4D91-96B2-084641DA9A6C}</Project>
      <Name>CodeAnalysis</Name>
34
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
35 36 37 38
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\Core\Desktop\CodeAnalysis.Desktop.csproj">
      <Project>{DFA21CA1-7F96-47EE-940C-069858E81727}</Project>
      <Name>CodeAnalysis.Desktop</Name>
39
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
40 41 42 43
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\CSharp\Portable\CSharpCodeAnalysis.csproj">
      <Project>{B501A547-C911-4A05-AC6E-274A50DFF30E}</Project>
      <Name>CSharpCodeAnalysis</Name>
44
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
45 46 47 48
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\CSharp\Desktop\CSharpCodeAnalysis.Desktop.csproj">
      <Project>{079AF8EF-1058-48B6-943F-AB02D39E0641}</Project>
      <Name>CSharpCodeAnalysis.Desktop</Name>
49
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
50 51 52 53
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\VisualBasic\Portable\BasicCodeAnalysis.vbproj">
      <Project>{2523D0E6-DF32-4A3E-8AE0-A19BFFAE2EF6}</Project>
      <Name>BasicCodeAnalysis</Name>
54
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
55 56 57 58
    </ProjectReference>
    <ProjectReference Include="..\..\Compilers\VisualBasic\Desktop\BasicCodeAnalysis.Desktop.vbproj">
      <Project>{73F3E2C5-D742-452E-B9E1-20732DDBC75D}</Project>
      <Name>BasicCodeAnalysis.Desktop</Name>
59
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
60 61 62 63
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\Core\Desktop\Workspaces.Desktop.csproj">
      <Project>{2e87fa96-50bb-4607-8676-46521599f998}</Project>
      <Name>Workspaces.Desktop</Name>
64
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
65 66 67 68
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\CSharp\Desktop\CSharpWorkspace.Desktop.csproj">
      <Project>{687daffd-9bd9-4331-96b7-483b941edeaa}</Project>
      <Name>CSharpWorkspace.Desktop</Name>
69
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
70 71 72 73
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\VisualBasic\Desktop\BasicWorkspace.Desktop.vbproj">
      <Project>{e637ad92-8397-4337-a9cd-9f2570078e59}</Project>
      <Name>BasicWorkspace.Desktop</Name>
74
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
75 76 77 78
    </ProjectReference>
    <ProjectReference Include="..\..\Features\VisualBasic\BasicFeatures.vbproj">
      <Project>{A1BCD0CE-6C2F-4F8C-9A48-D9D93928E26D}</Project>
      <Name>BasicFeatures</Name>
79
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
80 81 82 83
    </ProjectReference>
    <ProjectReference Include="..\..\Features\CSharp\CSharpFeatures.csproj">
      <Project>{3973B09A-4FBF-44A5-8359-3D22CEB71F71}</Project>
      <Name>CSharpFeatures</Name>
84
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
85 86 87 88
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\CSharp\CSharpEditorFeatures.csproj">
      <Project>{B0CE9307-FFDB-4838-A5EC-CE1F7CDC4AC2}</Project>
      <Name>CSharpEditorFeatures</Name>
89
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
90 91 92 93
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\Core\EditorFeatures.csproj">
      <Project>{3CDEEAB7-2256-418A-BEB2-620B5CB16302}</Project>
      <Name>EditorFeatures</Name>
94
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
95 96 97 98
    </ProjectReference>
    <ProjectReference Include="..\..\Features\Core\Features.csproj">
      <Project>{EDC68A0E-C68D-4A74-91B7-BF38EC909888}</Project>
      <Name>Features</Name>
99
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
100 101 102 103
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\Text\TextEditorFeatures.csproj">
      <Project>{18F5FBB8-7570-4412-8CC7-0A86FF13B7BA}</Project>
      <Name>TextEditorFeatures</Name>
104
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
105 106 107 108
    </ProjectReference>
    <ProjectReference Include="..\..\EditorFeatures\VisualBasic\BasicEditorFeatures.vbproj">
      <Project>{49BFAE50-1BCE-48AE-BC89-78B7D90A3ECD}</Project>
      <Name>BasicEditorFeatures</Name>
109
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
110 111 112 113
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\Core\Portable\Workspaces.csproj">
      <Project>{5F8D2414-064A-4B3A-9B42-8E2A04246BE5}</Project>
      <Name>Workspaces</Name>
114
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
115 116 117 118
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\CSharp\Portable\CSharpWorkspace.csproj">
      <Project>{21B239D0-D144-430F-A394-C066D58EE267}</Project>
      <Name>CSharpWorkspace</Name>
119
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
120 121 122 123
    </ProjectReference>
    <ProjectReference Include="..\..\Workspaces\VisualBasic\Portable\BasicWorkspace.vbproj">
      <Project>{57CA988D-F010-4BF2-9A2E-07D6DCD2FF2C}</Project>
      <Name>BasicWorkspace</Name>
124
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
125
    </ProjectReference>
B
beep boop 已提交
126
    <ProjectReference Include="..\Core\Def\ServicesVisualStudio.csproj">
127 128
      <Project>{86FD5B9A-4FA0-4B10-B59F-CFAF077A859C}</Project>
      <Name>ServicesVisualStudio</Name>
129
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
130
    </ProjectReference>
B
beep boop 已提交
131 132 133
    <ProjectReference Include="..\Core\Impl\ServicesVisualStudioImpl.csproj">
      <Project>{c0e80510-4fbe-4b0c-af2c-4f473787722c}</Project>
      <Name>ServicesVisualStudioImpl</Name>
134
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
B
beep boop 已提交
135 136 137 138
    </ProjectReference>
    <ProjectReference Include="..\Core\SolutionExplorerShim\SolutionExplorerShim.csproj">
      <Project>{7BE3DEEB-87F8-4E15-9C21-4F94B0B1C2D6}</Project>
      <Name>SolutionExplorerShim</Name>
139
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup</IncludeOutputGroupsInVSIX>
B
beep boop 已提交
140 141 142 143
    </ProjectReference>
    <ProjectReference Include="..\CSharp\Impl\CSharpVisualStudio.csproj">
      <Project>{5defadbd-44eb-47a2-a53e-f1282cc9e4e9}</Project>
      <Name>CSharpVisualStudio</Name>
A
Andrew Casey 已提交
144
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;PkgDefProjectOutputGroup</IncludeOutputGroupsInVSIX>
B
beep boop 已提交
145 146 147 148
    </ProjectReference>
    <ProjectReference Include="..\VisualBasic\Impl\BasicVisualStudio.vbproj">
      <Project>{d49439d7-56d2-450f-a4f0-74cb95d620e6}</Project>
      <Name>BasicVisualStudio</Name>
A
Andrew Casey 已提交
149
      <IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;PkgDefProjectOutputGroup</IncludeOutputGroupsInVSIX>
B
beep boop 已提交
150 151 152 153
    </ProjectReference>
  </ItemGroup>
  <ItemGroup>
    <InternalsVisibleTo Include="Microsoft.VisualStudio.LanguageServices.Telemetry" />
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
  </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>
    <Reference Include="Esent.Interop">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\packages\ManagedEsent.1.9.2.0\lib\net40\Esent.Interop.dll</HintPath>
    </Reference>
B
beep boop 已提交
175 176
    <Reference Include="Microsoft.VisualStudio.ComponentModelHost, Version=$(VisualStudioReferenceAssemblyVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <Reference Include="Microsoft.VisualStudio.OLE.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
177
    <Reference Include="Microsoft.VisualStudio.Shell.14.0, Version=$(VisualStudioReferenceAssemblyVersion), Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
B
beep boop 已提交
178 179 180 181
    <Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.9.0, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    <Reference Include="Microsoft.VisualStudio.Shell.Interop.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
182
    <Reference Include="Microsoft.VisualStudio.Shell.Immutable.10.0, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
B
beep boop 已提交
183
    <Reference Include="Microsoft.VisualStudio.Shell.Immutable.11.0, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
184 185 186 187 188 189 190 191 192 193
    <Reference Include="System" />
    <Reference Include="System.Collections.Immutable">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\References\Immutable\System.Collections.Immutable.dll</HintPath>
      <Private>True</Private>
    </Reference>
    <Reference Include="System.Reflection.Metadata">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\References\MetadataReader\System.Reflection.Metadata.dll</HintPath>
    </Reference>
194 195 196 197 198 199 200 201 202 203 204 205
    <Reference Include="System.Composition.Convention, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Convention.dll</HintPath>
    </Reference>
    <Reference Include="System.Composition.Hosting, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.Hosting.dll</HintPath>
    </Reference>
    <Reference Include="System.Composition.TypedParts, Version=1.0.27.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\packages\Microsoft.Composition.1.0.27\lib\portable-net45+win8+wp8+wpa81\System.Composition.TypedParts.dll</HintPath>
    </Reference>
206
  </ItemGroup>
B
beep boop 已提交
207 208 209 210 211 212 213 214 215 216 217 218 219 220
  <ItemGroup>
    <EmbeddedResource Include="VSPackage.resx">
      <MergeWithCTO>true</MergeWithCTO>
      <ManifestResourceNme>VSPackage</ManifestResourceNme>
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>VSPackage.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <VSCTCompile Include="Commands.vsct">
      <ResourceName>Menus.ctmenu</ResourceName>
      <SubType>Designer</SubType>
    </VSCTCompile>
  </ItemGroup>
221 222
  <ItemGroup>
    <Compile Include="AssemblyRedirects.cs" Condition="('$(AssemblyVersion)' == '42.42.42.42') or ('$(OfficialBuild)' == 'true')" />
B
beep boop 已提交
223 224 225 226 227 228 229 230
    <Compile Include="IRoslynTelemetrySetup.cs" />
    <Compile Include="RoslynPackage.cs" />
    <Compile Include="WorkspaceFailureOutputPane.cs" />
    <Compile Include="VSPackage.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>VSPackage.resx</DependentUpon>
    </Compile>
J
Jason Malinowski 已提交
231 232 233
    <Content Include="BindingPath.pkgdef">
      <IncludeInVSIX>true</IncludeInVSIX>
    </Content>
B
beep boop 已提交
234 235 236 237 238 239 240
    <Content Include="CSharpPackageRegistration.pkgdef">
      <IncludeInVSIX>true</IncludeInVSIX>
    </Content>
    <Content Include="VisualBasicPackageRegistration.pkgdef">
      <IncludeInVSIX>true</IncludeInVSIX>
    </Content>
    <None Include="Resources\Generate_Commands.bmp" />
241 242 243 244 245 246
  </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
Jason Malinowski 已提交
247
</Project>