togethergogl.blogg.se

Visual studio versions
Visual studio versions










  1. #Visual studio versions install#
  2. #Visual studio versions update#

I am updating an existing item templates VSIX project. I'm curious if you have experience with it. I'm running into a targetversion issue that led me here. Mads Kristensen: Visual Studio extensions and version ranges demystified.But hopefully this post helps you find this information if this same kind of version conflict happens to you, so you don't have to waste an hour or a few trying to randomly change things in hope that it'll fix the problem… Resources The documentation is terrible and VSIX installer is absolutely god-awful. Visual Studio extensions are always a pain in the ass. So you can set those same values there instead of in the file. Note that both of these settings - the Installation Targets and Prerequisites - can also be set through the Addin Project dialog: Once I fixed this setting I finally had success:

#Visual studio versions update#

I had updated the installation targets but didn't update the Prerequisites which caused the disabled checkboxes.

visual studio versions

This time the issue was caused by the missing core editor despendency which also needs to have a version range defined. I ended up with disabled checkboxes when running the installer: Ok so that gets me my Visual Studio 2019 extension installation prompt, but… it still wasn't working correctly. Disabled Visual Studio Version Checkboxes Keeping extensions up to date requires some effort. This too works, although I'm not sure if that's such a good idea since VS Extension APIs keep changing so much.

visual studio versions

Thanks to Mads' Blog Post to discover that little unobvious gem which eventually ended my version number bingo.įinally you can also use Version="[15.0,)"for the version to specify all future versions as in: I tried using 16.5 and 16.9 for the upper bound and those values did not work. Note Visual Studio doesn't use SemVer but some funky versioning scheme that requires that you use the next full. The only way I could get this to work is to use 17.0 as the version number: Īnd that worked to now at least show me Visual Studio 2019 as an installation option. Turns out the reason is that my version of Visual Studio is not 16.0 but 16.4 which is the 4th revision of 2019. This works for Visual Studio 2017 (v15), but fails for my current Visual Studio 2019 Enterprise installation. Versions 15 and 16 refer to Visual Studio 2017 and Visual Studio 2019 respectively. I want to support VS 2017 and VS 2019 so it seems reasonable to set the following in : You need to specify which versions of Visual Studio your extension supports.

visual studio versions

Turns out, the problem was the version configuration for Visual Studio versions because - surprise surprise - Visual Studio uses some funky wanna be SemVer version scheme for its versioning that doesn't work like you'd expect SemVer to work.

visual studio versions

My first thought was that the addin was already installed in 2019, but when I looked in the extensions dialog - nothing it's not installed.

#Visual studio versions install#

My very first attempt to try to install the compiled VSIX from disk, didn't show me Visual Studio 2019 as an installation option Instead the installer only installed for Visual Studio 2017. Visual Studio Version Install Option Missing I ran it in Debug mode and it worked so I was like "Cool - that was easy for a change.".īut that was where the cool part stopped. So I updated the framework version in my project template to 4.7.2 and happily recompiled my VSIX project expecting it to just work. In order to do this I had to update the old template which still used the. NET Standard compatibility ( you can read about some of the why's here). NET since I recently switched Markdown Monster to require. This is a Visual Studio 2019 Project Template for Markdown Monster that creates a ready to run addin for Markdown Monster that can then be customized to integrate with a variety of features in Markdown Monster.Īnyway, today I needed to update this template to use a new version of. I ran into a problem with my VSIX installer today when I tried to install my updated Visual Studio Extension for the Markdown Monster Addin Project Template.












Visual studio versions