VS 2012 Debug error - debugging

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

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

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

Restarting my laptop solved this issue for me.

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.

Related

C# Build Errors- Debug Target is Missing

I am just starting out with Visual Studios. When I try to run any code I get the error. There were build errors. Would you like to continue and run the last successful build? When I click OK I get a bunch of errors saying access to the path has been denied.
I have tried everything (ran as administrator, uninstalled and reinstalled, checked the path, made sure main/entry project has checked Build) Nothing is working and i'm very desperate for help.
https://gyazo.com/beb3dfc8d250f492e5dac054fb04273b
https://gyazo.com/0dbc199dd01f714e19197802902b0110
I am using Microsoft Visual Studio Community 2015

Visual Studio can't run a unit test (An exception occurred while invoking executor 'executor://nunit3testexecutor/')

Problem appeared from nothing, only changes I made in my code - installed RaSharper (but removing it and reinstalling Visual Studio was not helpful).
So I use NUnit 3 to run tests.
I have Visual Studio Test Adapter so I see my tests in Test Explorer.
I have Visual Studio 2013 Update 5.
The problem is then when I run any test I get the next message in output:
------ Run test started ------
NUnit Adapter 3.0.8.0 executing tests is started
Running selected tests in C:\Users\Denis\Documents\Visual Studio 2013\Projects\{Project_Name}\{Project_Name}\bin\Debug\{Project_Name}.exe
An exception occurred while invoking executor 'executor://nunit3testexecutor/': Failed to resolve assembly: 'Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
========== Run test finished: 0 run (0:00:02.5951484) ==========
I tried to remove App.Config, I tried to reinstall visual studio, I tried to reinstall all NuGet packages. Still I can not run my tests.
Please help me.
In addition: I created a complitely new Project, installed NUnit 3.0.1 and NUnit 3.0 Test Adapter 3.0.8-ctp-8. My test was not run! I got the same error.
Update:
My solution: I removed all .NET updates and reinstalled it. Also removed updates of Visual Studio that was installed on the day I encountered this error. It helped me. Still if someone has different solution or if someone know a reason of this error, you are welcome to share it.
Clear your temp data (%temp%) and then run the test.
I had a very similar error. In my case, doing a full clean and rebuild resolved the issue.
Sometimes it's the simple things :-)

Visual Studio 2015 does not build my (blank) Cordova projects: Build fails without error

I am using Visual Studio Enterprise 2015 to create Cordova projects. The project gets created successfully and I am able to play around with the source code. Before I actually change something and I try to build the empty starting project, Visual Studio will give me the following build message:
1>------ Build started: Project: BlankCordovaApp4, Configuration: Debug Android ------
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
The error List is completely empty and I cannot see anything in other output windows nor the command window.
I have looked around to activate the diagnostic log level when building (Tools > Options > Projects and Solutions > Build and Run > MSBuild output verbosity) but that didn't help... I'm still seeing the same non-descriptive message.
I am on Windows 10 with the following programs installed:
Node JS 4.0.0
Cordova installed with the npm tool (npm install -g cordova)
Android Studio and its Emulators
Visual Studio 2013 Ultimate Update 4
Visual Studio 2015 Enterprise Edition (with Cordova Tools)
I have been successfully creating Cordova apps with Visual Studio 2013 with the tools and with Visual Studio 2015 RC. But I can't seem to make it work anymore in the current build.
I have tried Repairing Visual Studio as well as uninstalling and reinstalling it completely, without avail. I have also cleared the Cordova cache multiple times and tried to run Visual Studio from Administrator mode, but that didn't work either.
So the question actually is twofold:
Is there a way to see what actually is going wrong when I'm trying to build?
Has anybody else experienced this kind of issue and found a solution for it?
We connected to Diedrik's machine and debugged the problem. There is a bug in Visual Studio which we will fix shortly.
For now, here is a workaround:
Open Tools -> Options -> Tools for Apache Cordova -> Remote Agent Configuration
Set Enable remote iOS processing to “False”
Click OK
(Optional if remote build is needed) Re-open the options and set it back to “True”
Thank you for reporting this problem!
I have experienced it and I fixed it closing everything and restarting windows after that it hasn't happened again, I think Visual Studio 2015 has a bug or something
In my case, I was having the same issue after upgrading VS 2015 RC to Enterprize. I then run the installer again and this time selected Cordova Update 4 rather than 3 which was selected by default. After install completed, I was able to build Cordova apps successfully. Didn't have to change anything in remote iOS processing.

Failed to locate: "CL.exe", Opencv with Visual studio c++ 2010 express program error

I have tried a lot of tutorials regarding configuring opencv 2.2 or 2.3 with MVS 2010 express C++, I tried also uninstall and reinstall my MVS 2010 to sure that it is working. Moreover I also configured it with opencv, like creating property sheets (DEBUG & RELEASE) and then set the Additional dependencies, libraries,includes, etc.
But when trying to run a simple program (Like displayin a video), I get this error:
1>------ Build started: Project: wew, Configuration: Debug Win32 ------
1>TRACKER : error TRK0005: Failed to locate: "CL.exe". The system cannot find the file specified.
1>
1>
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Has anybody experienced the same problem and solved it?
I encountered this while installing React Native via npm. I solved it by following the advice in this post: Visual studio doesn't have cl.exe
Visual Studio 2015 doesn't install C++ by default. You have to rerun
the setup, select Modify and then check Programming Language -> C++
I assume it would work for older versions of Visual Studio as well.
I encountered this error today and my problem was that I had accidentally overwritten the "executable directories" part of the project's property pages. I.e. I overwrote the (common properties->VC++ Directories->Executable directories) entry.

Visual Studio 2010 cannot build projects

I have a weird problem.
I just installed visual studio 2010 RTM on windows 7 Ultimate. I have two problems!
1) File->New Project returns empty templates. Cannot create a project. But if I open a solution I can add project in the solution.
2) I cannot build the project! No matter what I tried build project returns only
------ Build started: Project: WindowsFormsApplication1, Configuration: Release Any CPU -----
========= Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
It only creates *vhost.exe files but not the exe. I tried to set detailed output in build but the same message appears. Even Cleaning the project does the same thing
I installed and reinstalled VS2010 several times. I installed it as Administrator and I also put "Everyone" to be allowed in the VS2010 install folder. My other co-workers installed it correctly from the same DVD.
can someone help me?
thanks
so the only solution was to format my system and re-install windows 7 :(

Resources