I am trying to add authentication for .Net core web app, but when I try to run the code it is unable to copy some files even though I have full access to the system.
I following this doc for web app authentication link
Error that I am receiving is
Error MSB3027 Could not copy "C:\Users\userName\.nuget\packages\system.security.cryptography.protecteddata\4.5.0\
runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll" to
"bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll".
Exceeded retry count of 10. Failed.
WebApp-OpenIDConnect-DotNet C:\Program Files (x86)\Microsoft Visual Studio
\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 4364