Marius

Marius

  • NA
  • 17
  • 11.8k

User Control cannot find directory

Mar 10 2011 4:37 PM
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)