This problem can be caused by an antivirus application like avast that executes unknown applications for a short time in a sandbox to determine if the program appears to be a virus. Disabling this feature altogether or excluding your visual studio project folders are good way around this issue.