Error while running MVC application

Total Post:70

Points:494
 1139  View(s)
Ratings:
Rate this:

Hi all i have been developing an MVC application in my remote desktop  . but while executing the project im getting the following error . And once i deleted the abc.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\abc.dll" to "bin\abc.dll". The process cannot access the file 'bin\abc.dll' because it is being used by another process.

  1. Post:145

    Points:1019
    Re: Error while running MVC application

    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>

      Modified On Apr-06-2018 12:51:42 AM

Answer