Installation Problems

Topics: User Forum
Jun 5, 2008 at 12:22 PM
Edited Jun 5, 2008 at 2:48 PM
Hello all,

I'm very interested in that tool, but I couldn't get it running.

The installation seems to be successful (after I realized that I needed to install the 'Microsoft Visual Studio 2008 SDK'):

<---Schnipp-------------------%
D:\develop\NUnitForVS>deploy.bat
Deploying NUnitTest TIP to VS Directory
D:\develop\NUnitForVS\NUnitTest\bin\Debug\NUnitTest.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\NUnitTest.dll
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\bin\Debug\NUnitTest.pdb -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\NUnitTest.pdb
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\bin\Debug\nunit.util.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\nunit.util.dll
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\bin\Debug\nunit.common.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\nunit.common.dll
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\bin\Debug\nunit.core.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\nunit.core.dll
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\bin\Debug\nunit.core.interfaces.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\nunit.core.interfaces.dll
1 Datei(en) kopiert
Datei nunit.util.pdb nicht gefunden.
0 Datei(en) kopiert
Datei nunit.common.pdb nicht gefunden.
0 Datei(en) kopiert
Datei nunit.core.pdb nicht gefunden.
0 Datei(en) kopiert
Datei nunit.core.interfaces.pdb nicht gefunden.
0 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTestUI\Debug\NUnitTestUI.dll -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\1033\NUnitTestUI.dll
1 Datei(en) kopiert
D:\develop\NUnitForVS\NUnitTest\ItemTemplates\NUnitTemplate.zip -> C:\Programme\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\1033\NUnitTemplate.
zip
1 Datei(en) kopiert
Registering Package

Registering   : NUnitTest 1.0.0.0
Registry Root : Software\Microsoft\VisualStudio\9.0Exp
------------------------------------------------------
Paket:          NUnitTestPackage {18428bf5-286a-4fa0-b399-bb466f9a2bfd}
Ladeschlüssel:          - NUnit Test for VSTS
Version 1.0
Erforderliche Edition: Professional
Toolfenster:       NUnitForVSTS.NUnitTestResultViewWindow, {e4bccc7f-16a9-4e13-b2a2-20444d70f2b5}
ProvideTuipService: ({d6af2cae-ad69-4f6b-94e9-14e2609e2389}: NUnitForVSTS.ITestService, NUnitTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)
Dienst:          ITestService
RegisterTestType: (NUnitTestElement:{d6af2cae-ad69-4f6b-94e9-14e2609e2389} = .nunit;.exe;.dll)

SUCCEEDED:        NUnitTest

Package Registration Succeeded
Your Visual Studio is now capable to open and execute MyTest test type.
To enable "My Test" and "My Test Wizard" in "Add New Test" dialog, please run: devenv /setup

D:\develop\NUnitForVS>devenv /setup

%-------Schnapp----->

The studio recognizes the project as a mstest project - as described in other posts.
I also created a text file called unitest.nunit and a textfixture including a test (your template).

What else can I do to verify if the installation has been successful?

Thanx for help

Detlef
Jun 11, 2008 at 4:02 PM

Thanx for help ...

I know the solution: Change the following lines in deploy.bat and undeploy.bat:

Change
>> if "%EXP%" == "" set EXP=Exp
to
>> if "%EXP%" == "" set EXP=""

Now the entries in the registry will be placed under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0 which is required.

Detlef