Unit Tests and StartupPath

When I run unit tests "Application.StartupPath" equals to "C:\Program Files\JetBrains\ReSharper\VS2005\bin\"
so my file paths are broken.
I've set the "test assembly location" to my debug directory where all my files are, but it doesn't change anything...
Any idea ?

1 comment
Comment actions Permalink

The startup path should be the directory of the DLL being tested.

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"jc" <no_reply@jetbrains.com> wrote in message
news:7683268.1162210799154.JavaMail.itn@is.intellij.net...

When I run unit tests "Application.StartupPath" equals to "C:\Program
Files\JetBrains\ReSharper\VS2005\bin\"
so my file paths are broken.
I've set the "test assembly location" to my debug directory where all my
files are, but it doesn't change anything...
Any idea ?



0

Please sign in to leave a comment.