Hello ,
From what I’ve seen previously, that error message could mean a few different things. Firstly, be sure that you’re running Visual Studio as an administrator, otherwise it won’t be able to access this file. If that doesn’t help, please check that file that it isn’t able to access and ensure that it isn’t set to “read-only”. If neither of these work, please try disabling your anti virus temporarily to see if it may be blocking Visual Studio from accessing certain files.
Edit: If none of these options help, what version of Windows are you using and have you been able to create C++ projects in Unreal previously on this same computer? If so, what version was it on?