P
Patrik
Hi,
I am not sure this is the right forum but I will give it a try. I am using
the built-in test project template that exists in Visual Studio Team
Edition. This project runs unit test on code that is using the property
System.Windows.Forms.Application.StartupPath. Normaly this gives me the
start location of my exe. The problem is that when running the test this
return the location of C:\Program Files\Microsoft Visual Studio
8\Common7\IDE which probably is the location of some unit tester.
I do not know how to solve this. The code is looking for a folder called
StandardIcons which do not ofcourse exist in the IDE folder. When I then try
to get files from that location I will get an DirectoryNotFound exception.
Any suggestions on how to handle this?
/Patrik
I am not sure this is the right forum but I will give it a try. I am using
the built-in test project template that exists in Visual Studio Team
Edition. This project runs unit test on code that is using the property
System.Windows.Forms.Application.StartupPath. Normaly this gives me the
start location of my exe. The problem is that when running the test this
return the location of C:\Program Files\Microsoft Visual Studio
8\Common7\IDE which probably is the location of some unit tester.
I do not know how to solve this. The code is looking for a folder called
StandardIcons which do not ofcourse exist in the IDE folder. When I then try
to get files from that location I will get an DirectoryNotFound exception.
Any suggestions on how to handle this?
/Patrik