I am running VS2017 version 26430.13 and every time I try to build a web project I get errors that access to the files in the bin\\roslyn is denied. Over a period of about 5 mi
Instead of killing the process manually, you may use the following commands in a Pre-Build Event:
tasklist /FI "IMAGENAME eq VBCSCompiler.exe" 2>NUL | find /I /N "VBCSCompiler.exe">NUL if "%ERRORLEVEL%"=="0" (taskkill /IM VBCSCompiler.exe /F) else (verify >NUL)