I'm building a class library which references a file in its working directory. However, it's unable to find the file because it keeps looking in C:\Program Files\Visual Studio 2010\Common7\IDE\
. The solutions is not in that directory, nor is the working directory set to that. I can't see anything related to my class library in that folder either!
This happens whether I use Environment.CurrentDirectory
or not, when constructing my file path.
Does anybody know why it might be doing this?