After installing the 3989 VS add-in and starting up Visual Studio (but before loading a solution) I have four TeamCity menus, each of which has each menu item appearing twice or four times. I'll attach a screenshot of one menu; they are all identical.
I had installed the 3914 VS add-in previously, but the 3989 add-in installer prompted me to run the 3914 add-in uninstaller first, and I did so. Then during the help installation the installer displayed a failure (see http://www.jetbrains.net/jira/browse/TW-2170 ) ... I suppose that's unrelated, but I'm mentioning it just in case.
After loading a solution, the four menus are still there and still have duplicated menu items; some of the menu items are disabled as normally, but this happens in all menus and for both of the duplicates of each menu item. So all of these clones seem to be "live". I posted another screenshot of the menu contents when solution is loaded.
I tried "Run personal build" (the second from the top, in the first menu), and the dialog came up, the build was triggered, everything apparently worked.
I then tried "My changes view" but that resulted in an exception dialog, InternalErrorException: Roots should always be built. I'll reference this issue ID in that issue.
Issue wasresolved
| Old | New | |
| Gunnlaugur Thor Briem (gthb) - 19 months ago (26 Mar 2007 17:26) | ||
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 15:34)I shut down Visual Studio and uninstalled manually with Add/Remove Programs, first the help and then the add-in.
Then I started Visual Studio again. Before loading a solution, I see one TeamCity menu still there, with menu items in it (not duplicated). I then tried to load the same solution again. I got this dialog:
Microsoft Visual Studio
Package Load Failure
Package 'JetBrains.TeamCity.Package.TeamCityPackage, JetBrains.TeamCity.Package, Version=1.0.3811.3811, Culture=neutral, PublicKeyToken=null' has failed to load properly ( GUID = {D7EB1F36-1BCF-4427-8BF1-F47B0B3862E9} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.
Yes No
I clicked No. The solution loaded, and the TeamCity menu is there, with all menu items enabled, but clicking them does nothing.
I exited Visual Studio and loaded again. It went exactly the same way, except this time I clicked Yes. Same results, TeamCity menu is still there and items do nothing.
Exited again, started up again, opened Add-In Manager and unchecked VSSDK.VsIdeTestHost and its Startup box, OK, exit, restart, but the menu still appears.
Looking in the registry, I find this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp\Packages\{26c61dac-f2bf-44ff-849e-222371c246ae}]
@="JetBrains.TeamCity.Package.TeamCityPackage, JetBrains.TeamCity.Package, Version=1.0.3914.3914, Culture=neutral, PublicKeyToken=null"
"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"
"Class"="JetBrains.TeamCity.Package.TeamCityPackage"
"CodeBase"="C:\\Program Files\\JetBrains\\TeamCity\\Vs2005Plugin\\JetBrains.TeamCity.Package.dll"
"ID"=dword:00000068
"MinEdition"="Standard"
"ProductVersion"="2.0"
"ProductName"="TeamCity Integration"
"CompanyName"="JetBrains s.r.o."
and this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp\Packages\{d7eb1f36-1bcf-4427-8bf1-f47b0b3862e9}]
@="JetBrains.TeamCity.Package.TeamCityPackage, JetBrains.TeamCity.Package, Version=1.0.3811.3811, Culture=neutral, PublicKeyToken=null"
"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"
"Class"="JetBrains.TeamCity.Package.TeamCityPackage"
"CodeBase"="C:\\Program Files\\JetBrains\\TeamCity\\Vs2005Plugin\\JetBrains.TeamCity.Package.dll"
"ID"=dword:00000068
"MinEdition"="Standard"
"ProductVersion"="1.2"
"ProductName"="TeamCity"
"CompanyName"="JetBrains s.r.o."
with the same ID but a different ProductVersion and GUID.
This second key {d7eb...} appears also in the 8.0 section, but the first one does not:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{d7eb1f36-1bcf-4427-8bf1-f47b0b3862e9}]
@="JetBrains.TeamCity.Package.TeamCityPackage, JetBrains.TeamCity.Package, Version=1.0.3811.3811, Culture=neutral, PublicKeyToken=null"
"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"
"Class"="JetBrains.TeamCity.Package.TeamCityPackage"
"CodeBase"="C:\\Program Files\\JetBrains\\TeamCity\\Vs2005Plugin\\JetBrains.TeamCity.Package.dll"
"ID"=dword:00000068
"MinEdition"="Standard"
"ProductVersion"="1.2"
"ProductName"="TeamCity"
"CompanyName"="JetBrains s.r.o."
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 15:36)Is it a safe workaround to manually remove the above keys from the registry, to be able to cleanly install the 3989 add-in?
Eugene Petrenko (eugene.petrenko)
19 months ago (26 Mar 2007 16:10)Thank you!
That is the known issue for TeamCity VS Plugin installer.
To fix the problem, please use the workaround
That workaround should solve the problem.
The problem was in the intaller which was, unfortunately, unable to uninstall
previous version of the plugin before installing new one.
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 16:27)Thanks Eugene.
I do have the 3914 installer still, but not the 3811 installer (the registry keys show that there are remains of both of these versions). Do I need to install and uninstall both of these old versions? Could you make the 3811 installer available?
Removing the above registry keys is not enough?
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 16:33)I've installed 3914 and uninstalled it again, but regedit shows that the 3914 registry key (as shown above) is still there in registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0Exp\Packages\{26c61dac-f2bf-44ff-849e-222371c246ae}
... is that expected? Do I need to install and uninstall first 3811 and then 3914?
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 16:40)I found the TeamCity 3811 installer on my disk and extracted the add-in installer from that.
Installed 3811, uninstalled 3811, installed 3914, uninstalled 3914. Registry keys are still there, TeamCity menu is still there.
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 16:44)Oops, sorry, a bit too fast there ... TeamCity menu is gone now, and although the registry keys are still there in 8.0Exp, the one that was in 8.0 is gone. Trying 3989 addin now.
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 16:54)Add-in version 3989 installed without problems, and correct number of menus appears (i.e. 1). But "Open My Changes Window" threw up an exception like before (see http://www.jetbrains.net/jira/browse/TW-2174 ) --- is that unrelated to these installation problems?
Eugene Petrenko (eugene.petrenko)
19 months ago (26 Mar 2007 17:03)Please, try this one. Problem should be fixed.
To install patch, please close VS. Extract all files to the installation folder with overwrite.
Hope this help
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 17:14)Minor cosmetic issue: on VS startup (before loading solution), all menu items were enabled. I tried Open My Changes Window, and it very nicely opened and told me to open a solution. After closing it, all menu items were disabled, except Login. I tried that, and it also told me to open a solution. The cosmetic issue is that all menu items (and maybe the whole menu) should have been disabled to start with.
On loading the solution, I get a dialog saying this:
"Team City Integration is outdated. Please download and install new version from the current TeamCity web server."
offering the buttons Download and Cancel. I click Cancel. In the TeamCity menu, all options are disabled except Login. I try Login, it gives me a login window correctly filled out with previous values and I click OK, but it gives me the same dialog as above. I click Cancel again, and now I get a new dialog with the following:
TeamCity Login
TeamCity Visual Studio addin version is incompatible with server. Please download new TeamCity Visual Studio addin from TeamCity server.
OK
So the add-in is currently unusable because of the version check.
Gunnlaugur Thor Briem (gthb)
19 months ago (26 Mar 2007 17:16)(To clarify, the previous comment was to describe the results of testing the updated plugin that you attached)
Eugene Petrenko (eugene.petrenko)
19 months ago (26 Mar 2007 17:26)I'm sorry, that was my mistake to send you version of plugin for new version of server ( I mean server protocol version).
We plan to publish TC 2.0 Beta today. This version will contain fixes to that issue.