Update Visual Studio Designer

Posts   
 
    
NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 24-Sep-2014 11:06:42   

My Visual studio (2013 Pro SP3) keeps complaining that it only has the 4.0 LLBLGen Studio designer installed. I have LLBLGen 3.5, 4.0 and 4.2 installed. When I installed 4.2 it didn't seem to update the Studio designer and I cannot find a VSIX installer in the 4.2 downloads area.

I don't use the studio designer but I need to enable automatic update as other stuff I use heavily in Studio relies on it.

Most Studio add-ins I use (Telerik, Xamarin etc) download the installer but LLBLGen just points you to the downloads area.

Any idea how I resolve this?

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39620
Joined: 17-Aug-2003
# Posted on: 24-Sep-2014 18:32:44   

NMackay wrote:

My Visual studio (2013 Pro SP3) keeps complaining that it only has the 4.0 LLBLGen Studio designer installed. I have LLBLGen 3.5, 4.0 and 4.2 installed. When I installed 4.2 it didn't seem to update the Studio designer and I cannot find a VSIX installer in the 4.2 downloads area.

I don't use the studio designer but I need to enable automatic update as other stuff I use heavily in Studio relies on it.

I think you have to explain it to me what you want, as I'm a bit lost simple_smile The add-on for VS.NET loads the designer, every LLBLGen Pro installer installs the add-on, the vsix is in the installation folder. The key is to run the vsix of the highest version.

I'm not sure what isn't working exactly, do you mean you want to update via vs.net gallery?

Frans Bouma | Lead developer LLBLGen Pro
NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 25-Sep-2014 10:29:17   

Otis wrote:

NMackay wrote:

My Visual studio (2013 Pro SP3) keeps complaining that it only has the 4.0 LLBLGen Studio designer installed. I have LLBLGen 3.5, 4.0 and 4.2 installed. When I installed 4.2 it didn't seem to update the Studio designer and I cannot find a VSIX installer in the 4.2 downloads area.

I don't use the studio designer but I need to enable automatic update as other stuff I use heavily in Studio relies on it.

I think you have to explain it to me what you want, as I'm a bit lost simple_smile The add-on for VS.NET loads the designer, every LLBLGen Pro installer installs the add-on, the vsix is in the installation folder. The key is to run the vsix of the highest version.

I'm not sure what isn't working exactly, do you mean you want to update via vs.net gallery?

Hi Frans,

If you see the attached pic, every time I run Visual Studio (2012 Update4) it asks me to upgrade to 4.2 even though 4.2 is installed. I installed 4.2 again and still it shows the 4.0 designer in Studio.

Visual Studio 2013 (Update 3) now doesn't seem to think it needs updated to 4.2 but shows the 4.0 designed too. Running the vsix installed in the 4.2 folder makes no difference. I shutdown studio when reinstalling 4.2 and it sat for a while when trying to execute the VSIX installer.

it's not critical, it's just a bit annoying that I can upgrade all my other Extensions via the Studio IDE.

Attachments
Filename File size Added on Approval
LLBLGen Upgrade Notification.png 85,250 25-Sep-2014 10:29.38 Approved
NMackay
User
Posts: 138
Joined: 31-Oct-2011
# Posted on: 25-Sep-2014 10:34:47   

When running the vsix installer in the 4.2 folder the installer just says the extension is already installed.....but it's the 4.0 extension.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39620
Joined: 17-Aug-2003
# Posted on: 25-Sep-2014 15:48:39   

NMackay wrote:

Otis wrote:

NMackay wrote:

My Visual studio (2013 Pro SP3) keeps complaining that it only has the 4.0 LLBLGen Studio designer installed. I have LLBLGen 3.5, 4.0 and 4.2 installed. When I installed 4.2 it didn't seem to update the Studio designer and I cannot find a VSIX installer in the 4.2 downloads area.

I don't use the studio designer but I need to enable automatic update as other stuff I use heavily in Studio relies on it.

I think you have to explain it to me what you want, as I'm a bit lost simple_smile The add-on for VS.NET loads the designer, every LLBLGen Pro installer installs the add-on, the vsix is in the installation folder. The key is to run the vsix of the highest version.

I'm not sure what isn't working exactly, do you mean you want to update via vs.net gallery?

Hi Frans,

If you see the attached pic, every time I run Visual Studio (2012 Update4) it asks me to upgrade to 4.2 even though 4.2 is installed. I installed 4.2 again and still it shows the 4.0 designer in Studio.

Visual Studio 2013 (Update 3) now doesn't seem to think it needs updated to 4.2 but shows the 4.0 designed too. Running the vsix installed in the 4.2 folder makes no difference. I shutdown studio when reinstalling 4.2 and it sat for a while when trying to execute the VSIX installer.

it's not critical, it's just a bit annoying that I can upgrade all my other Extensions via the Studio IDE.

The add-on can't be updated through VS.NET unfortunately, as Microsoft requires the VSIX (the add-on) to be located in 1 spot, however that would require the designer in full to be installed at that spot if we pack the designer with the vsix. As the designer is also used standalone it's not part of the extension (we spent considerable time on this, there's unfortunately no other way). The add-on therefore is downloaded and run separately, which is simply the full installer of LLBLGen Pro.

I think the problem comes from the following: the extension (the vsix) has just 1 version, v4.0. This is the same version for LLBLGen Pro v4.0, 4.1 and 4.2. The reason is that VS.NET allows just 1 editor to be assigned to a file extension (in our case .llblgenproj). If you have multiple v4.x installations side by side, you therefore would get multiple add-ons in vs.net, which is of course not going to work, so we made our add-on to be able to load the latest designer that it can find, so it can work with all v4.x versions.

Now, as it has v4.0 as version, vs.net compares simply that version with the version in the gallery of the entry with the same ID. Which is v4.2 (to signal that it is LLBLGen pro v4.2). Versions don't match, so it will say 'hey, update is available!', but that of course will never be solved, as the add-on will always have v4.0.

As a Microsoft employee who works on vs.net once told me "VS.NET extensibility sucks big time", I can only sigh and hope you accept my apology for this inconvenience, but we can't fix this disappointed

Frans Bouma | Lead developer LLBLGen Pro