I have recently installed Visual Studio 2005 and am have converted a Forms based app (called BondPricer) from 2003 to 2005. Initially it worked fine however after making some changes I am getting the following error dialog:
Error while trying to run Project: Could not load file or assembly 'BondPricer' or one of it's dependencies. The module was expected to contain an assembly manifest.
What does this mean and how can I fix it
If I run the BondPricer.exe from the bin\Debug directory from a cmd prompt then it seems to run just fine
Dave

Error running converted Forms application from Visual Studio
Tudor Trufinescu
Dave
Subodhs
My application uses a old C++ dll (compiled under VC++ v6) and calls it using DllImport. I placed a copy of that dll in my bin\Debug directory and it is called BondPricer.dll.
It seems to be this that is causing the problem as if I delete it from the bin\Debug directory then VS is able to launch the app in Debug mode.
Or if I rename the dll to BondPricer.dlx then it is able to work.
Does VS require that all dlls in the bin\Debug dir be .Net dlls
Dave