开发者

VS2008 assembly load problem

I have .NET solution in VS2008. In my solutio开发者_JAVA技巧n 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.


I would suggest that you use process monitor from msft. This will show you what dll and where it is being loaded from. Maybe there is a dependany dll that us causing this issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜