Ran into a very strange situation today. Suddenly, Visual Studio 2015 RC's debug options broke and the F5 key would no longer start the project in debug mode. Even IISExpress had disappeared, only showing "Start", which generated this error when clicked: "The debugger cannot continue running the process. Unable to start debugging."
Another issue: The References folder was empty, even though .NET 4.5.1 and 5.0 were added earlier.
I tried a repair via the uninstall utility but issue was still there. Finally, I exported and reset all the settings in Visual Studio following this article. Lo and behold: the options were back and I could run the app in debug or Ctrl-F5 (non-debug mode). Why this happened all of a sudden today, I don't know. I wasn't changing any settings, just editing a C# file when Visual Studio suddenly stopped working.
Whew!
Web application R&D notes, from the world of Java, Flex, CSS, XHTML, Flash, .NET, cross-browser compatibility, JavaScript, AJAX, ADA compliance, Photoshop, and any and all things related to Web development!
19 May 2015
23 April 2015
Great article on the "Mobilegeddon": Search me: Google's 'Mobilegeddon' is good news. Google has a great blog post on it as well.
09 April 2015
08 April 2015
Memory issues with IISExpress process on Visual Studio 2015
Visual Studio 2015 comes with IIS Express, which enables the localhost to serve as a web server without having to set up the app in Windows IIS. I was building a C#/MVC/Bootstrap site that kept crashing IIS Express. Some research revealed that we can run the server in 64-bit mode: Just go to Tools > Options > Projects and Solutions > check the box for "Use the 64 bit version of IIS Express for web sites and projects."
Memory usage by IIS Express went from over 700MB to 8MB now. Much better.
Memory usage by IIS Express went from over 700MB to 8MB now. Much better.
Labels:
64-bit,
iisexpress,
memory-leaks,
visual studio,
visual-studio-2015,
windows
Publishing to an Azure website from Visual Studio 2015
This was trickier than expected. We thought it had to do with permissions, but even with Owner access to the Azure site, it still gave errors (a code 99 with Grunt, having nothing on Google about it). Well, I was trying to get Less installed on Visual Studio, and an article revealed that Grunt wasn't installed; nor was Bower.
The article walked me through installing Grunt and Bower, which help with running jobs and managing client-side packages, respectively. Then I still got this error:
The article walked me through installing Grunt and Bower, which help with running jobs and managing client-side packages, respectively. Then I still got this error:
INVOKEPOWERSHELL(0,0): Error : Unrecognized link extension 'contentLibExtension'.Some more digging revealed a StackOverflow post with the answer. It had to do with an old version of the msdeploy.exe file. And then the publish worked like a charm.
Labels:
azure,
grunt,
less,
msdeploy.exe,
publish,
visual-studio-2015
07 April 2015
23 March 2015
Create fade transition for the Bootstrap Carousel
This required a lot of work and has been documented in this Stackoverflow answer.
Subscribe to:
Posts (Atom)