WebAPI projects stopped working in Visual Studio 2012 Update 1 - visual-studio-2012

Perfectly working project stopped working after I upgraded to Update 1. More frustrating is - it rebuilds perfectly. But when I try to run I get a modal msgbox with "System.Exception" in it ONLY.
Now I even tried by creating a fresh webAPI project - even that doesn't work.

I had to uninstall VS 2012 and re-install it. I had similar issue when I tried instaling SQL 2012 Express which required VS2010 SP1 and didn't install without that. So I decided to rebuild all and now all are working.

Related

Visual Studio 2015 keeps running old code/build

I am currently working on a web project and I am having a problem where Visual Studio 2015 is not running the latest build. I know that there are already some questions about this problem but I still could not fix this issue.
I have tried the following but still did not make any improvements:
Closing Visual Studio
Closing the project
Clean and Re-build solution
Deleting the bin folder
Deleting the debug folder
Tools -> Options -> Projects and Solutions -> Build and Run: "On
Run, when projects are out of date" set to "Always Build"
Any help, please?
So, the following is the answer how the above problem can be solved.
From the Administrative Tools, select IIS Manager
Click on Application Pools
Restart the App Pool

configure your forms app unable to select iOS on target platform

Hi all new to this but just downloaded and installed xamarin studio to my mac but iOS on the target platforms: section on the configure your forms app page is greyed out and cant be selected
any idea how to solve this please
The Xamarin studio don't install everything you need automatically.
1 - Install the latest iOS SDK.
2 - Install the latest version of Xcode.
3 - Install the Xamarin Studio.
Full Guide:
https://developer.xamarin.com/guides/ios/getting_started/installation/mac/
I had the same issue Visual Studio 7.2.2, the iOS box was disabled. There were couple of issues I had
I had the Xcode app named as XCode9.app in the application folder so VS was unable to find the location, so I fixed that one.
I then searched for installed components About VisualStudio--> ShowDetails and found that Xamarin.iOS10 was installed which seem to have incompatibility with XCode9 so I ran the VS installer once again and found that Xamarin.iOS11 was out and after installing the update and restarting, everything worked.
Download the visual studio for mac again and run the installer. It will show you the missing components and give you a way to install them correctly. Worked for me here. It will check what is already installed, you won't have to install everything again.

Visual Studio 2013 Cordova App Build Error - Freezes

I'm not being able to build a Cordova app in Visual Studio 2013. The build starts but freezes a couple of seconds later.
This last output line from the build process:
Could not find Cordova as a local module. Expecting to find it
installed globally.
I've countless times ran the Cordova install command (globally) on node.js and still get the same build error.
I'm not sure how to get around this issue.
Does anyone has an idea what's the problem or what I'm missing ?
I had same problem and i tried bunch of solutions... The problem was salved by change settings in my firewall. I observed that the firewall blocks one of js process(node.exe). When I turn off firewall the VS unfreezes. So I reconfigured it and my problem disappeared. I use win 7 64 bit, and VS 2013 update 4.
You can also try switch on the x64 IIS(if you're using 64bit OS): Cordova Tools for Visual Studio 2013 CTP3 crashes or gets freezed
and/or update the Web Essentials Nightly:
http://www.roelvanlisdonk.nl/?p=3989

Visual Studio Express 2012 for Web won't start. "Cannot find one or more components"

I installed VS Express 2012 for Web from the Web Platform Installer, but it won't start. I click the shortcut (or the EXE) and get this error message:
Microsoft Visual Studio Express 2012 for Web
Cannot find one or more components. Please reinstall the application.
I've tried uninstalling, reinstalling, running the repair tool. Downloading the standalone install, etc. I have Windows 7 x64 SP1 fully updated from Windows Update. I'm not sure where to begin troubleshooting. I ran collect.exe but don't know where to look or what to look for.
I had the same problem with VS 2012 Express for Desktop, also on Windows 7 x64 SP1. These two links have the same solution which worked for me:
http://social.msdn.microsoft.com/Forums/en-US/4f24be62-7a19-4f95-bc33-1f57cc3d3fcd/visual-studio-express-2012-for-desktop-cannot-find-one-or-more-components?forum=vssetup
http://maditguy72.blogspot.com/2013/06/cannot-find-one-or-more-components.html
The solution that worked for me is to delete this registry key: [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]

Visual Studio 2012 - no MVC project template, no 4.5

I have just installed visual studio 2012 ultimate.
In the new project dialog I have
No .net framework 4.5 option
No MVC project templates
I have repaired the installation. (twice now).
I have tried starting vs with
devenv /installvstemplates
I have also tried
devenv /resetsettings
all to no avail !!
Any suggestions ?
Try to install ASP.NET and Web Tools 2012.2 update for Visual Studio 2012
This worked for me.
I thought the same when I first had my 2012, I had to manually download the file
MVC .Net 4.5
Hopefully this helps you :)
I uninstalled and then reinstalled and the mvc project templates & .net framework are there now.
I think the problem was that I was installing from a mounted .iso file.
For the reinstall I set my ISO software to remount at startup.
Still pretty poor that a repair did not fix this !!

Resources