I have .NET solution in VS2008. In my solution there are 20 projects. In Debug configuration everything is OK. But in Release configuration there is problem with loading one specific assembly(class library from my projects).
Could not load file or assembly ‘Solution.Project, Version=1.0.3929.32377, Culture=neutral, PublicKeyToken=null’ or one of its dependencies. An attempt was made to load a program with an incorrect format.
My system is Windows 7 prof. 64bit. I checked directory and file(.dll) is OK. On other computers it`s OK.
I checked out working copy to another directory and same problem.
Where can be problem please?
Did you try comparing the project properties for Debug and Release, and doing the same for one of the projects that does work correctly in both Debug/Release modes? You probably have, but I can’t shake the feeling something about your projects dependencies has been configured incorrectly in Release mode.