The program '[12808] SlicerApp-real.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.

Operating system:Windows 10
Slicer version:4.9
Expected behavior:debug
Actual behavior:

I compiled and run Slicer, but after restarting the computer, I get the following error:
System lost CTKWidgets.dll ,QtCored4.dll, QtGuid4.dll…

The anti-virus software killed and deleted essensial files. I think you can donwload the latest version of 3d slicer and then re-install after closing this safe-manager such as 360/qq in Chinese.

In order to launch Slicer in Visual Studio, the environment (PATH) needs to be set up correctly. Please see:

https://www.slicer.org/wiki/Documentation/Nightly/Developers/Tutorials/Debug_Instructions#Using_Visual_Studio