Showing posts with label Visual Studio. Show all posts
Showing posts with label Visual Studio. Show all posts

Saturday, January 4, 2014

The build stopped unexpectedly because of an internal failure.

If you ever receive the following error while doing development in Visual Studio, don't fret, it just means your system is running low on memory. Close a few apps, or restart Visual Studio and/or your system, if need be, and then try rebuilding your app and it should work like a charm!

The build stopped unexpectedly because of an internal failure.

Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same microsoft.build.dll that the launching process loaded. If the location seems incorrect, try specifying the correct location in the BuildParameters object, or with the MSBUILD_EXE_PATH environment variable.

Happy New Year,
Paras Wadehra
Nokia Developer Ambassador
INETA Community Champion
Microsoft Windows Phone Champ

Sunday, November 4, 2012

Error connecting to undo manager of source file

If you get an error like “Error connecting to undo manager of source file ‘Default.aspx.designer.cs’” in Visual Studio, then simply edit both the .aspx and .cs files and recompile.

You don’t have to change the files, you can just add and delete a character – enough to set the “changed” flag, and that should solve your problem.

Hope it helps!


Paras Wadehra
Twitter: @ParasWadehra
 

Wednesday, June 13, 2012

Async CTP v3 installation issues

If you tried installing Async CTP v3 with your VS 2010 installation and are having problems, then this might be of help to you.

There are some updates that you might have received via Windows Update that interfere with the successful installation of Async CTP v3. Three in particular, KB2635973, KB2615527 and KB2645410, are known to be incompatible with Async CTP v3.

If you have any of these updates on your system, then please remove these before trying to install Async CTP v3. Once Async CTP v3 is successfully installed you can install these and other newer updates.

To read more about this issue, click here.

Cheers,
Paras

Tuesday, May 29, 2012

Error : DEP0600 : The following unexpected error occurred during deployment: Illegal characters in path.

During the deployment of your Windows 8 Metro application, you may encounter the following error: Error : DEP0600 : The following unexpected error occurred during deployment: Illegal characters in path.


This may happen if you moved your project to a new location after its first deployment and you are trying to redeploy the application. There are 2 ways to resolve this error, both of which I mention below.

FIRST SOLUTION

Uninstall the version of the application installed from another location. To do this, on the home/start screen right click on your app's icon and then click uninstall in the menu bar at the bottom. Once uninstalled, the error in Visual Studio should disappear.

SECOND SOLUTION

Create a new GUID and copy it. Now open the Package.appxmanifest file and replace the package name with the new GUID. This should fix the deployment issue.

If you do not know how to generate a new GUID, you can alternatively create a new app and copy its package name into your app to resolve this issue.

Happy Coding,
Paras Wadehra