fsprojects / Paket.VisualStudio

Manage your Paket (http://fsprojects.github.io/Paket/) dependencies from Visual Studio!
MIT License
147 stars 51 forks source link

can't install on vs2013 premium #136

Open llehn opened 7 years ago

llehn commented 7 years ago

The latest version I could install was 0.30.4.

All later versions failed telling me no compatible products have been found.

Looking at the manifest I saw that the version range is 12-16, but only community edition.

forki commented 7 years ago

/cc @hmemcpy

hmemcpy commented 7 years ago

I was literally typing a comment, but forgot to press the button!!!

Hmm, Community is the "minimum" version, but I don't remember if they added this logic in 2013. Is your Visual Studio updated with the latest update?

llehn commented 7 years ago

Yes VS is updated.

in the vsixmanifest there's this:

  <Prerequisites>
    <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26004.1,16.0)" DisplayName="Visual Studio core editor" />
  </Prerequisites>

The last version not containing this is installable on vs2013

AGBrown commented 6 years ago

Using VS2013 Ultimate Update 5.

I got round this by

  1. (optional) Changing the .vsix to .zip
  2. unzipping the vsix to a folder
  3. editing the .vsixmanifest file, in my case I changed the InstallationTarget element to <InstallationTarget Version="[12.0,16.0)" Id="Microsoft.VisualStudio.Ultimate" /> (ref. https://msdn.microsoft.com/en-us/library/hh696828.aspx )
  4. select all the files
  5. right click, send to "Compressed folder"
  6. change the extension back to .vsix
  7. Double click to install

It then installs with no issue.

However I did not have nice icons on paket.dependencies or paket.references in my c# .net 4.6.2 dll projects, or in my solution folders. The tree view of packages does however show under the files, as do the icons on each depenency, and I have commands in the context menus as expected.