'Microsoft.Common.CurrentVersion.targets(5100, 5): [MSB3021] Unable to copy file "xxxx" to "xxx". Access to the path 'xxx' is denied jetbrain rider
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.
I have given the full permission as well
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


