.pdb (debug reference) files are created as part of the build. the error indicates some process has the old file open, so a new one can not be created.
you could try to delete the folder first, but it may fail for the same reason. exit programs til the delete works. you can use the openfiles utility to detect which process has the file open:
https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/openfiles.
note: will need to run the command as admin