4
Answers

User Control cannot find directory

Photo of Marius

Marius

14y
2.4k
1
Hi folks, 

I made a custom user control in VS 2008 and the trouble is that it can't find the directory of the project. The only directory it seems to get access to is the build dir (....bin\release)

Other than that, if I try to use a relative path it doesn't work, the only way that I've found so far is to provide the full path. Using Environment.CurrentDirectory doesn't seem to work either.

Any ideas? 

Answers (4)