1

Upgraded the project from .net core 5 to 6 and getting this error on jetbrain rider, with visual studio everything is working fine.

  Microsoft.Common.CurrentVersion.targets(5100, 5): [MSB3021] Unable to copy file "C:\Projects\6clicks\src\LegalRegTech.Web.Host\obj\Debug\net6.0\apphost.exe" to "bin\Debug\net6.0\LegalRegTech.Web.Host.exe". Access to the path 'C:\Projects\6clicks\src\LegalRegTech.Web.Host\obj\Debug\net6.0\apphost.exe' is denied.

enter image description here

I have given the full permission as well

enter image description here

San Jaisy
  • 15,327
  • 34
  • 171
  • 290

0 Answers0