문제

Hi all i have been developing an MVC application in my remote desktop . which is shared by my colleague also . but while executing the project im getting the following error . And once i deleted the xxxx.dll in my bin the project get executing but why am i getting the following error frequently

Error 22 Unable to copy file "obj\Debug\xxxx.dll" to "bin\xxxx.dll". The process cannot access the file 'bin\xxxx.dll' because it is being used by another process.

도움이 되었습니까?

해결책

I found the answer thanks all

 <system.web>
<hostingEnvironment shadowCopyBinAssemblies="false" />
 </system.web>

by changing this to like this i could solve

 <system.web>
<hostingEnvironment shadowCopyBinAssemblies="true" />
 </system.web>

다른 팁

Another thing you can do is to have a app_offline.htm in the root folder of your site.

A template can be found here: http://geekswithblogs.net/Vipin/archive/2012/03/28/app_offline.htm-taking-site-down-for-maintenance.aspx

The reason why I am copying this url is because some say there is a need for a minimum size for the file.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top