Using NUnit with Visual C# 2008 Express

Thomas Barnekow <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
Hi,

I'm trying to use NUnit with Visual C# 2008 Express which,  
unfortunately, has some debugging limitations. Specifically, it does  
not allow me to connect to a running process (e.g., nunit-console.exe)  
so that I can not easily debug my code when it's called by NUnit test  
classes.

To deal with this, I've created a separate Console Application with a  
wrapper class that just calls Runner.Main(). The project references  
nunit-console-runner and other necessary assemblies. This doesn't work  
as expected, however, since I'm getting security exceptions (missing  
FileIOPermission). My calling class is fully trusted (at least I  
believe it is).

I must admit that I've never really worked with the .NET security  
framework, so I might be missing out on something pretty basic. On the  
other hand, I thought I might ask the list about the best practices  
when using NUnit with the Express versions of Visual C#.

Any feedback and help is highly appreciated.

Cheers, Thomas Barnekow

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.