|
154 | 154 | </RegistrySearch>
|
155 | 155 | </Property>
|
156 | 156 |
|
| 157 | + <Property Id="VS2013_SCHEMAS_MSBUILD_DIR"> |
| 158 | + <RegistrySearch Id="VS2013SearchForCommonPath" Root="HKLM" |
| 159 | + Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="12.0" Type="raw"> |
| 160 | + <DirectorySearch Id="VS2013SearchForXmlPath" Path="Xml" Depth="1"> |
| 161 | + <DirectorySearch Id="VS2013SearchForXmlSchemasPath" Path="Schemas" Depth="1"> |
| 162 | + <DirectorySearch Id="VS2013SearchForXmlSchemasLangPath" Path="1033" Depth="1"> |
| 163 | + <DirectorySearch Id="VS2013SearchForXmlSchemasMSBuildPath" Path="MSBuild" Depth="1" /> |
| 164 | + </DirectorySearch> |
| 165 | + </DirectorySearch> |
| 166 | + </DirectorySearch> |
| 167 | + </RegistrySearch> |
| 168 | + </Property> |
| 169 | + |
| 170 | + <Property Id="VS2013_MSBUILD_SCHEMA"> |
| 171 | + <RegistrySearch Id="VS2013SearchForCommonPath2" Root="HKLM" |
| 172 | + Key="Software\Microsoft\VisualStudio\SxS\VS7" Name="12.0" Type="raw"> |
| 173 | + <DirectorySearch Id="VS2013SearchForXmlPath2" Path="Xml" Depth="1"> |
| 174 | + <DirectorySearch Id="VS2013SearchForXmlSchemasPath2" Path="Schemas" Depth="1"> |
| 175 | + <DirectorySearch Id="VS2013SearchForXmlSchemasLangPath2" Path="1033" Depth="1"> |
| 176 | + <FileSearch Id ="VS2013SearchForMSBuildSchema" Name="Microsoft.Build.xsd"/> |
| 177 | + </DirectorySearch> |
| 178 | + </DirectorySearch> |
| 179 | + </DirectorySearch> |
| 180 | + </RegistrySearch> |
| 181 | + </Property> |
| 182 | + |
157 | 183 | <PropertyRef Id="VS2005DEVENV" />
|
158 | 184 | <PropertyRef Id="VS90DEVENV" />
|
159 | 185 | <PropertyRef Id="VS2010DEVENV" />
|
160 | 186 | <PropertyRef Id="VS2012DEVENV" />
|
| 187 | + <PropertyRef Id="VS2013DEVENV" /> |
161 | 188 |
|
162 | 189 | <Directory Id="TARGETDIR" Name="SourceDir">
|
163 | 190 | <Directory Id="ProgramFilesFolder">
|
|
310 | 337 | Sequence="1">
|
311 | 338 | </util:XmlConfig>
|
312 | 339 | </Component>
|
| 340 | + |
| 341 | + <Component Id="MSBuildTasksVS2013" Guid="44D5E139-E47A-496c-A123-97D092760FA1"> |
| 342 | + <RegistryKey Root="HKLM" Key="Software\Microsoft\VisualStudio\12.0\MSBuild\SafeImports"> |
| 343 | + <RegistryValue Name="MSBuildCommunityTasks" Value="[MSBuildTasksDir]MSBuild.Community.Tasks.Targets" Type="string" KeyPath="yes" /> |
| 344 | + </RegistryKey> |
| 345 | + <CopyFile Id="CopySchema2013" |
| 346 | + DestinationProperty="VS2013_SCHEMAS_MSBUILD_DIR" |
| 347 | + FileId="MSBuild.Community.Tasks.xsd" /> |
| 348 | + <util:XmlConfig Id="MSBuildTasksSchemaIncludeVS2013" |
| 349 | + File="[VS2013_MSBUILD_SCHEMA]" |
| 350 | + Action="create" |
| 351 | + On="install" |
| 352 | + ElementPath="//xs:schema" |
| 353 | + Name="xs:include" |
| 354 | + Node="element" |
| 355 | + VerifyPath="$(var.VerifyPath)" |
| 356 | + Sequence="1"> |
| 357 | + <util:XmlConfig Id="MSBuildTasksSchemaLocationVS2013" |
| 358 | + File="[VS2013_MSBUILD_SCHEMA]" |
| 359 | + ElementId="MSBuildTasksSchemaIncludeVS2013" |
| 360 | + Name="schemaLocation" |
| 361 | + Value="MSBuild\MSBuild.Community.Tasks.xsd" /> |
| 362 | + </util:XmlConfig> |
| 363 | + <util:XmlConfig Id="MSBuildTasksSchemaRemoveVS2013" |
| 364 | + File="[VS2013_MSBUILD_SCHEMA]" |
| 365 | + Action="delete" |
| 366 | + On="uninstall" |
| 367 | + ElementPath="//xs:schema" |
| 368 | + Node="element" |
| 369 | + VerifyPath="$(var.VerifyPath)" |
| 370 | + Sequence="1"> |
| 371 | + </util:XmlConfig> |
| 372 | + </Component> |
313 | 373 | </DirectoryRef>
|
314 | 374 |
|
315 | 375 | <!-- Global Assembly Cache -->
|
|
369 | 429 | <ComponentRef Id="MSBuildTasksVS2012" />
|
370 | 430 | </Feature>
|
371 | 431 |
|
| 432 | + <Feature Id="MSBuildTasksVS2013Feature" |
| 433 | + Title="Visual Studio 2013 Integration" |
| 434 | + Description="Integrate MSBuild Community Tasks with Visual Studio 2013." |
| 435 | + AllowAdvertise="no" |
| 436 | + Display="expand" |
| 437 | + Level="0"> |
| 438 | + <Condition Level="1">VS2013DEVENV</Condition> |
| 439 | + <ComponentRef Id="MSBuildTasksVS2013" /> |
| 440 | + </Feature> |
| 441 | + |
372 | 442 | </Feature>
|
373 | 443 |
|
374 | 444 | <!-- Install Sequences -->
|
|
0 commit comments