Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2012 Debug error

I am trying to remote debug windows 7 64bit machine, which runs remote debugging tools. I`m compiling my code in my local computer and then I copy it to remote machine and run it with remote debugger.

It used to work until this sunday, and I don't recall any special changes or installations done around that time. Since Sunday, everytime i'm trying to run remote debugger (F5) I get this build error

1> ------ Build started: Project: Messaging, Configuration: Debug Dynamic x64 ------

1> The operation cannot be completed because BeginBuild has not yet been called.

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Edit : I changed "On run, when projects are not up to date" to "prompt to build" and then is seems my projects were outdated. I can't understand why.. myabe it`s the reason and the "BeginBuild has not yet been called" is just the sympthom?

Any idea?

Thanks

like image 238
Koryo Avatar asked Aug 27 '14 12:08

Koryo


People also ask

How do I fix breakpoint in Visual Studio?

To disable a breakpoint without deleting it, hover over or right-click it, and select Disable breakpoint. Disabled breakpoints appear as empty dots in the left margin or the Breakpoints window. To re-enable a breakpoint, hover over or right-click it, and select Enable breakpoint.

Why is Breakcode not hitting Vscode?

If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.

How do I Debug DLL in VS?

Debug from the DLL project Set breakpoints in the DLL project. Right-click the DLL project and choose Set as Startup Project. Make sure the Solutions Configuration field is set to Debug. Press F5, click the green Start arrow, or select Debug > Start Debugging.


4 Answers

Got the same thing with VS Express 2013. A mere restart did the trick.

like image 80
MonoThreaded Avatar answered Nov 20 '22 20:11

MonoThreaded


I had this same issue.
Removing the .suo file helped for me, but I have found people who reinstalled Visual Studio.

like image 29
bunny1985 Avatar answered Nov 20 '22 21:11

bunny1985


Restarting my laptop solved this issue for me.

like image 29
Olga Perederieieva Avatar answered Nov 20 '22 20:11

Olga Perederieieva


I had the same issue with VS2017 (15.9.3)

Restarting the computer did not help.

Removing the .suo file helped. I searched for it was located in the .vs\Devices\v15 subdirectory.

like image 31
Teni Avatar answered Nov 20 '22 20:11

Teni