CppStars / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

GallioBundle-3.2.603.0-Setup-x64.msi setup will not install the testrunner resharper #733

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. A x64 machine with VS 2010, Resharper 5.1 installed
Resharper will be default installed in c:\program files (x86) 
2. Launch installer x64 : will default install the Gallio bundle in 
c:\program files\  --> the x64 bit program folder
3. The testrunner resharper Gallio.ReSharperRunner51.dll is not installed in 
the plugins folder of resharper residing in the 32 bit program files folder.

What is the expected output? What do you see instead?
Using Gallio with the resharper plugin in VS.
No Gallio testrunner in resharper.

What version of the product are you using? On what operating system?
GallioBundle-3.2.603.0 x64 installer.
Windows Server 2008 R2 x64 workstation.
Resharper 5.1
Visual Studio 2010 Premium

Please provide any additional information below.

The workaround is to manually copy the Gallio.ReSharperRunner51.dll from the 
zip file in the plugins folder of resharper.

Original issue reported on code.google.com by eric.van...@gmail.com on 23 Sep 2010 at 7:50

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 27 Sep 2010 at 6:21

GoogleCodeExporter commented 8 years ago
Hi,

I think I have found a glitch in the installation script of the R# plugin. 
Unfortunately, none of the actual committers has an x64 box to make tests. 
Would you be kind to try out the build v3.2.609 (or later) and let me know 
whether the plugin is correctly installed?

http://ccnet.gallio.org/Distributables/

Thank you in advance,
Yann.

Original comment by Yann.Tre...@gmail.com on 27 Sep 2010 at 8:23

GoogleCodeExporter commented 8 years ago
Hello,

I uninstalled the version 3.2.603 and installed a new fresh 3.2.610 version.

1 The resharper plugin folder is still not installed in the resharper bin folder
2.AND more severe the Gallio plugin is giving now an error in VS2010. VS2010 
gives an exception when loading the testrunner.

In the eventviewer :
The description for Event ID 0 from source VSTTExecution cannot be found. 
Either the component that raises this event is not installed on your local 
computer or the installation is corrupted. You can install or repair the 
component on the local computer.

If the event originated on another computer, the display information had to be 
saved with the event.

The following information was included with the event: 

(devenv.exe, PID 1228, Thread 1) SolutionIntegrationManager: 
SolutionIntegrationManager::LoadFileIntoTmi: Failed to load 
D:\DevTree\MyPathToTheDLL\Tests.dll for some systemic reason: An exception 
occurred while invoking a test driver.

the message resource is present but the message is not found in the 
string/message table

I uninstalled the 3.2.610 and reinstalled the old 3.2.603, but VS2010 is still 
complaining about an exception in loading the testrunner :-(
When running the tests in VS2010 via resharper, everything seems to run, but 
always the error in the output result tab of VS2010 about the exception.

Does somebody knows how to get the whole message of the exception in VS2010?

When running via Icarus, everything runs fine...

Regards,
Eric

Original comment by eric.van...@gmail.com on 28 Sep 2010 at 9:08

GoogleCodeExporter commented 8 years ago
We use the reg keys R# installs to find the plugin folder, on x86 they are: 

HKCU\Software\JetBrains\ReSharper\v5.1\vs10.0\InstallDir 
and/or 
HKLM\Software\JetBrains\ReSharper\v5.1\vs10.0\InstallDir. 

Do these exist on your machine? Or are they in the WoW64 hive?

Original comment by grahamr...@gmail.com on 28 Sep 2010 at 4:56

GoogleCodeExporter commented 8 years ago
- The key HKCU\Software\JetBrains\ReSharper\v5.1\vs10.0\ exists but not the 
entry InstallDir.
- The key HKLM\Software\JetBrains does not exists

- The key HKLM\Software\Wow6432Node\JetBrains\ReSharper\v5.1\vs10.0\InstallDir
exists.

Do you have an idea what the problem could be in VS2010? Do you know how to get 
the whole exception from VS2010?

Original comment by eric.van...@gmail.com on 29 Sep 2010 at 6:31

GoogleCodeExporter commented 8 years ago
The VS error is a bit odd. It's possible that the uninstall didn't clear out 
all the files, could you uninstall Gallio completely and make sure there are no 
errors when opening VS please?

I'm afraid I don't know any way to get the exception details, other than 
attaching a debugger to devenv.exe.

Just out of interest, where does the InstallDir reg key point? Thanks.

Original comment by grahamr...@gmail.com on 29 Sep 2010 at 8:38

GoogleCodeExporter commented 8 years ago

Original comment by grahamr...@gmail.com on 29 Sep 2010 at 8:52

GoogleCodeExporter commented 8 years ago
I tested that already, and after uninstall VS is launching without error.

The InstallDir is pointing to : C:\Program Files 
(x86)\JetBrains\ReSharper\v5.1\\Bin

Regards

Original comment by eric.van...@gmail.com on 30 Sep 2010 at 6:17

GoogleCodeExporter commented 8 years ago
An update about the VS exception.
I think that I've found the problem. It is probably not a Gallio problem.

The exception message is shown on the list Test entry of the Output tab.
This week I did several tests to get the VS coverage working with the Gallio 
testrunner (I didn't get it to work :-( ) In trying to get it working I did 
several tests also with the MSTest runner. When doing this the list Test entry 
is activated in the Output tab.

Once this entry is activated, running a Gallio testrun will give an exception 
in this tab...

Original comment by eric.van...@gmail.com on 30 Sep 2010 at 7:36

GoogleCodeExporter commented 8 years ago
Thanks. Hmm, interesting, could you open another issue for the Test list entry 
thing please? I'll try and replicate it at some point, we could be missing some 
behaviour that VS requires.

Original comment by grahamr...@gmail.com on 30 Sep 2010 at 8:33

GoogleCodeExporter commented 8 years ago
Ok, I opened a new issue : VS2010 and Gallio 3.2.610 x64 bundle : An exception 
occurred while invoking a test driver. (739)

I've seen that some new issues where inputted with the same error message 
(issue 735).
He has the same error message in the event viewer and also a x64 bit machine.

Original comment by eric.van...@gmail.com on 30 Sep 2010 at 9:42

GoogleCodeExporter commented 8 years ago
I've had another crack at this, could you please try the latest nightly (3.3.42 
- http://ccnet.gallio.org/Distributables/)? It should be using the WoW64 reg 
hive.

Original comment by grahamr...@gmail.com on 15 Oct 2010 at 12:21

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 19 Nov 2010 at 7:01

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 5 Dec 2010 at 11:33