__alex
asked on
NUnit: ... not located under the AppBase.
Using NUnit 2.2 I get this error message:
System.ApplicationExceptio n: Unable to load <MyFile> because it is not located under the AppBase.
However, I can open an assembly (File | Open) and run the test but if I save the project, quit NUnit, reopen it (either by the icon in my start menu or by a double click on the *.nunit file) I can't get it to work anymore. Anyone got a clue?
Thanks!
(I use .NET 2.0 Beta, if that's important)
System.ApplicationExceptio
However, I can open an assembly (File | Open) and run the test but if I save the project, quit NUnit, reopen it (either by the icon in my start menu or by a double click on the *.nunit file) I can't get it to work anymore. Anyone got a clue?
Thanks!
(I use .NET 2.0 Beta, if that's important)
ASKER
AFAIK it does :-)
www.nunit.org :
Configuration
If multiple versions of the .NET framework are installed, the configuration files nunit-gui.exe.config and nunit-console.exe.config control which one of them is selected when running the gui and console runner respectively. As originally installed, that order is .NET 1.1, .NET 2.0 and .NET 1.0. To change which version is used, simply change the order of the elements in the config files. The nunit-gui About Box shows the framework version currently being used.
www.nunit.org :
Configuration
If multiple versions of the .NET framework are installed, the configuration files nunit-gui.exe.config and nunit-console.exe.config control which one of them is selected when running the gui and console runner respectively. As originally installed, that order is .NET 1.1, .NET 2.0 and .NET 1.0. To change which version is used, simply change the order of the elements in the config files. The nunit-gui About Box shows the framework version currently being used.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The same problem appears with .NET Version 1.1.4322
File | Open "C:\Program Files\NUnit2.2\bin\mock-as sembly.dll "
Run button
---> Everything is fine
Save as "Desktop\mock-assembly.dll .nunit"
---> Error
File | Open "C:\Program Files\NUnit2.2\bin\mock-as
Run button
---> Everything is fine
Save as "Desktop\mock-assembly.dll
---> Error
ASKER
Ok, got it:
*.nunit file and assembly are supposed to be in the same directory.
*.nunit file and assembly are supposed to be in the same directory.
Bob