DLL and Main Project Building - Annoyance

我是研究僧i 提交于 2019-12-24 15:16:15

问题


I have a main executable project and a dll project in VS 2008.

Sometimes when I clean/rebuild the dll and then clean/rebuild the main project, the main project will not build because it says the dll is in use.

Closing both projects resolves the issue.

Why does this occur and how do I prevent it from happening? It is annoying having to close and reopen the projects.

Error received when building main project after building dll:

Unable to load referenced library 'C:\Documents and Settings\xxxxxx\Desktop\abcdefg\x64\Release\abdcefg.dll': The process cannot access the file because it is being used by another process.

来源:https://stackoverflow.com/questions/1406856/dll-and-main-project-building-annoyance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!