brooklynDev / Visual-Pastie

Create and upload a paste to Pastie.org in one click.
5 stars 0 forks source link

VS2015 support #1

Open vaindil opened 9 years ago

vaindil commented 9 years ago

Is there any chance of VS2015 support being added? I've never written plugins for VS so I wouldn't know how to edit the code myself, but this would be really handy.

brooklynDev commented 9 years ago

Hey,

So I currently don't have a machine handy with VS2015 installed, so here's a work around you can try. Head over to visual studio gallery site to download the extension:

https://visualstudiogallery.msdn.microsoft.com/ea23f9a7-a942-45b2-87e6-5df6ff0444ff

Download the file, it'll be in vsix format:

VisualPastie.vsix

Rename the file to be a zip file:

VisualPastie.zip

Then, unzip it's contents and locate the file called:

extension.vsixmanifest

Open it in the xml editor of your choice and locate this section:

    <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>

Just add VisualStudio version 13 like this:

    <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>
      <VisualStudio Version="13.0">
        <Edition>Pro</Edition>
      </VisualStudio>
    </SupportedProducts>

Save the file, zip the contents back up, and rename it back to a .vsix file. Then double click it and it should install into Visual Studio 2015. Please report back to let me know if that works, if it does, I'll make the change here to the code, and upload a new one to Visual Studio gallery.

vaindil commented 9 years ago

That worked correctly, just note that VS2015 is 14.0 and not 13.0. Thank you, I appreciate it!