none
Is possible VSIX install in VS2015, VS2013 which i create from VS2015 RRS feed

  • Question

  • Hi Sirs,

        Is possible VSIX install in VS2015, VS2013(Pro, Community version) , which I create from VS2015?

    How to set vsixmanifes file(Install Targets, Dependencies) ?

    Have any books for Visual Studio 2015 Extensions?

    Thanks.

    Saturday, August 20, 2016 12:44 AM

Answers

  • Hi Tony,

    You need convert it to v1.0 manually, for example:

    <Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
      <Identifier Id="ae98c9e5-8e14-4c92-b45a-c4fd24a49123">
        <Name>MyExtension</Name>
        <Author>whosoever</Author>
        <Version>1.0</Version>
        <SupportedProducts>
          <VisualStudio Version="10.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="11.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Pro</Edition>
          </VisualStudio>
        </SupportedProducts>
        <SupportedFrameworkRuntimeEdition MinVersion="4.0" />
      </Identifier>

    Regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Tony.SQL Tuesday, September 6, 2016 6:18 AM
    Friday, September 2, 2016 2:46 AM
    Moderator

All replies

  • Hi Tony,

    From your description above, you need locate the <SupportedProducts> XML element and add version 14.0. i.e:

        <SupportedProducts>

          <VisualStudio Version="13.0">

            <Edition>VSLS</Edition>

          </VisualStudio>

          <VisualStudio Version="14.0">

            <Edition>VSLS</Edition>

          </VisualStudio>

        </SupportedProducts>

    Further information:

    Visual Studio LightSwitch 2015 Extensions

    Upgrading LightSwitch Extension Projects

    Regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, August 22, 2016 8:08 AM
    Moderator
  • Hi Angie,

       I need  convert source.extension.vsixmanifest from v 2.0 to v 1.0 ?

    My source.extension.vsixmanifest is below,

    <?xml version="1.0" encoding="utf-8"?>
    <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
      <Metadata>
        <Identity Id="c9b444cc-73e5-4c9e-a657-af3c45324f14" Version="1.0" Language="zh-TW" Publisher="Tony" />
        <DisplayName>ADMVSIX</DisplayName>
        <Description xml:space="preserve">VS.NET Addin</Description>
        <Icon>Resources\icon.png</Icon>
        <PreviewImage>Resources\preview.png</PreviewImage>
      </Metadata>
      <Installation AllUsers="true">
        <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[13.0,14.0)" />
      </Installation>
      <Dependencies>
        <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="[4.5,)" />
        <Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" d:Source="Installed" Version="[14.0]" />
      </Dependencies>
      <Assets>
        <Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
      </Assets>
    </PackageManifest>

    When I install at other PC.

    Get the  This extension is not installable on any currently installed products. Error.

    9/1/2016 5:47:31 AM - Microsoft VSIX Installer
    9/1/2016 5:47:31 AM - -------------------------------------------
    9/1/2016 5:47:32 AM - Initializing Install...
    9/1/2016 5:47:32 AM - Extension Details...
    9/1/2016 5:47:32 AM -     Identifier         : c9b444cc-73e5-4c9e-a657-af3c45324f14
    9/1/2016 5:47:32 AM -     Name               : ADMVSIX
    9/1/2016 5:47:32 AM -     Author             : Tony
    9/1/2016 5:47:32 AM -     Version            : 1.0
    9/1/2016 5:47:32 AM -     Description        :   VS.NET Addin
    9/1/2016 5:47:32 AM -     Locale             : zh-TW
    9/1/2016 5:47:32 AM -     MoreInfoURL        :
    9/1/2016 5:47:32 AM -     InstalledByMSI     : False
    9/1/2016 5:47:32 AM -     SupportedFrameworkVersionRange : [4.5,)
    9/1/2016 5:47:32 AM -
    9/1/2016 5:47:32 AM -     SignatureState     : Unsigned
    9/1/2016 5:47:32 AM -     Supported Products :
    9/1/2016 5:47:32 AM -         Microsoft.VisualStudio.Community
    9/1/2016 5:47:32 AM -             Version : [13.0,14.0)
    9/1/2016 5:47:32 AM -
    9/1/2016 5:47:32 AM -     References         :
    9/1/2016 5:47:32 AM -         -------------------------------------------------------
    9/1/2016 5:47:32 AM -         Identifier   : Microsoft.VisualStudio.MPF.14.0
    9/1/2016 5:47:32 AM -         Name         : Visual Studio MPF 14.0
    9/1/2016 5:47:32 AM -         Version      : [14.0]
    9/1/2016 5:47:32 AM -         MoreInfoURL  :
    9/1/2016 5:47:32 AM -         Nested       : No
    9/1/2016 5:47:32 AM -
    9/1/2016 5:47:32 AM - Signature Details...
    9/1/2016 5:47:32 AM -     Extension is not signed.
    9/1/2016 5:47:32 AM -
    9/1/2016 5:47:32 AM - Searching for applicable products...
    9/1/2016 5:47:32 AM - Found installed product - Microsoft Visual Studio Professional 2013
    9/1/2016 5:47:32 AM - Found installed product - Microsoft Visual Studio 2013 Shell (Integrated)
    9/1/2016 5:47:32 AM - Found installed product - Microsoft Visual Studio Community 2015
    9/1/2016 5:47:32 AM - Found installed product - Microsoft Visual Studio 2015 Shell (Integrated)
    9/1/2016 5:47:32 AM - Found installed product - Global Location
    9/1/2016 5:47:32 AM - Found installed product - Visual Studio 15 Enterprise
    9/1/2016 5:47:32 AM - VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products.
       at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported)
       at VSIXInstaller.App.InitializeInstall()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

    Thank for your help.




    • Edited by Tony.SQL Thursday, September 1, 2016 5:51 AM
    Thursday, September 1, 2016 5:45 AM
  • Hi Tony,

    You need convert it to v1.0 manually, for example:

    <Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
      <Identifier Id="ae98c9e5-8e14-4c92-b45a-c4fd24a49123">
        <Name>MyExtension</Name>
        <Author>whosoever</Author>
        <Version>1.0</Version>
        <SupportedProducts>
          <VisualStudio Version="10.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="11.0">
            <Edition>Pro</Edition>
          </VisualStudio>
          <VisualStudio Version="12.0">
            <Edition>Pro</Edition>
          </VisualStudio>
        </SupportedProducts>
        <SupportedFrameworkRuntimeEdition MinVersion="4.0" />
      </Identifier>

    Regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Tony.SQL Tuesday, September 6, 2016 6:18 AM
    Friday, September 2, 2016 2:46 AM
    Moderator
  • Hi Angie,

       Thanks for your help.

    I change  Microsoft.VisualStudio.Community 's Version Range to [12.0, 14.0] at Install Targets tab  .

    And remove Visual Studio MPF 14.0 from Dependencies tab.

    Then my VSIX can install in vs2013 & vs2015.

    I hava a question. 

    When I need to include MPF ?

    Thanks.

    Friday, September 2, 2016 9:44 AM