Cleaning up the solution usually works for me.
Update
Given the large number of projects (320), I understand why Clean and Build will not work for you. However, you should try at least once to see if something fixes.
If it fixes your problem but does not last, you need to do one of two things.
Clear only one file
Delete the infringing temporary file. You probably wonβt be able to do this because VS is working because it may have a lock in the DLL. You may also have to stop IIS. You can use Process Explorer to search for processes that have a lock.
Use custom solution
Its unlikely that you will modify all 320 projects at once. Create your own solution only for the projects you are working on. You can still get through any project that has a DLL and a PDB if you need to.
What to do
Using a custom solution has its problems, because you can no longer use the project link for projects that are not part of your solution. This affects the control of your team. You also need to make sure that the DLL and PDB outside your solution are in a stable place, and you need a way to detect when other projects have changes that concern you.
These problems can be resolved through a thorough process of registering changes and project scripts that copy files and work with team members to figure out how to share changes.
On the other hand, closing VS for every change or run. Cleanliness and assembly also cannot be performed.
source share