Re: Runtime info
"Charlie Poole" <[email protected]>
| Newsgroups | gmane.comp.windows.dotnet.nunit.user |
|---|---|
| Message-ID | <000101c86607$b9c8d4d0$6502a8c0@ferrari> |
1) Hard way: Get the assembly codebase, create a URI and look at the LocalPath property. 2) Easy way: Use the current directory, which is set by NUnit the directory of the test assembly being executed. Charlie _____ From: [email protected] [mailto:[email protected]] On Behalf Of Anatoly Ilyaev Sent: Friday, February 01, 2008 1:06 AM To: [email protected] Subject: [Nunit-users] Runtime info Hi I want to get a path to a UnitTest project i am running at run time. How can I do it? Thank you Anatoly _____ Express yourself instantly with MSN Messenger! MSN <http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/> Messenger ------------------------------------------------------------------------- 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/ _______________________________________________ Nunit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nunit-users