0

I have the problem that if I debug my code every time I change it i get a compiling error. Whenever I restart the server then everything runs again.

(0,0): error : Cannot create file: C:\Users\alex\AppData\Local\Temp\Temporary ASP.NET Files\vs\a9393033\9993fb91\App_Code.pdb. 
The process cannot access the file because it is used by another process.

My Setup:

  • Visual Studio Community 2019 v16.0.2
  • .NET v4.0.30319
1

1 Answer 1

1

If you are wokring with ASP.NET, try to remove the optimizeCompilations="true" attribute in your web.config file. Also make sure you have the latest updates of VS installed.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.