-1

When I'm publishing the site, it gives me error. It says that cannot modify ProjectName.dll. Error message.

1 Answers1

0

That's usually because the DLL is currently in use, either via IIS Express or running directly from the console. Shutdown IIS Express, close any open console windows, etc., and then try again.

Chris Pratt
  • 232,153
  • 36
  • 385
  • 444