0

When I attempt to compile a project(clicking Local Windows Debugger) Visual Studio becomes completely unresponsive

This only happens with new projects, all my previous projects compile and run properly, in fact, I am able to open a new instance of VS with a working project and run it while the other one is failing to compile. I have uninstalled and reinstalled multiple times.

I did a little test where I attempted to run an empty project with one .cpp source file:

#include <iostream>

using namespace std;

I got an "entry point needs to be defined" error, which is expected.

but once I add

int main(){return 0};

It will just become unresponsive when I click the debug button. Again, while I futilely wait to see if it compiles, I am able to open another instance of VS with a previous project that works.

0 Answers0