0 I have pulled one .net project from github. Opened it in Visual studio 19. There are multiple projects in Solution but only one project is giving the problem while building. Error is as follows : "Severity Code Description Project File Line Suppression State Error CS2012 Cannot open 'C:\Users\cloverspd1\Source\Repos\cloverspd1\NPD\SyncDataJob\obj\Debug\SyncDataJob.exe' for writing -- 'Access to the path 'C:\Users\cloverspd1\Source\Repos\cloverspd1\NPD\SyncDataJob\obj\Debug\SyncDataJob.exe' is denied.' SyncDataJob C:\Users\cloverspd1\Source\Repos\cloverspd1\NPD\SyncDataJob\CSC 1 Active " Thing is that ,.exe file does not exists there in debug folder. Since it is not building unable to create .exe file.
cd C:\Users\cloverspd1\Source takeown /R /F * icacls * /T /Q /C /RESET
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)