I have a very strange problem, within VS 2010 I am able to run my application perfectly. But when I build it OR release it and run the '.exe' I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly [my assembly] or one of its dependencies, Version=1.0.0.0, Culture=nl-NL, PublicKeyToken=null .....
- I checked the release management and build order, all OK.
- I checked the 'Copy local' option it is on 'True'.
- Cleaned my Solution
- The reference is from a different project inside the solution and is added by 'project reference'.
- The
Environment.CurrentDirectory
Is the same as the .exe location.
I'm lost.