How can I prevent Visual Studio 2013 from closing my IIS Express app when I end debugging?

Turning off the new “Enable Edit and Continue” feature fixed it for me. Open Options dialog box (Tools | Options) Locate “Debugging\Edit and Continue” Uncheck “Enable Edit and Continue” Update 1: You can also turn it off on a per project basis. Open properties for web project Select Web tab Uncheck “Enable Edit and Continue” … Read more

No EditorOptionDefinition Export Found Error

After a reboot and some more research I found this post from a blog. The error described is not the same error I am seeing, however, it was close enough to warrant a try. Follow the steps: Close Visual Studio Open the folder: %LocalAppData%\Microsoft\VisualStudio\12.0\ (in C:\users\’%userName%’\AppData\Local\Microsoft\VisualStudio\12.0\) Rename the ComponentModelCache folder Restart Visual Studio. Visual studio … Read more

Why am I getting, “Object reference not set to an instance of an object.” but no line of code is implicated?

This was an incredibly strange issue, but since there it has been solved, it might as well get an answer. I think it’s a bug in the .suo files, as my VS was behaving oddly lately, my programs suddenly started crashing, not building and saying the Office references were not valid. One fix I tried … Read more

Is it possible to create a Windows 8 Store App from Visual Studio 2013?

It’s easy – create a new 8.1 project and remove the following lines from the .csproj file: <TargetPlatformVersion>8.1</TargetPlatformVersion> <MinimumVisualStudioVersion>12</MinimumVisualStudioVersion> Reopen the file and voila – it’s a Windows 8 project! Additionally, you might want to change the following as well: In MainPage.xaml: – <Grid Background=”{ThemeResource ApplicationPageBackgroundThemeBrush}”> + <Grid Background=”{StaticResource ApplicationPageBackgroundThemeBrush}”> In Package.appxmanifest: – <m2:VisualElements + … Read more

Building boost with Visual Studio 2013 (Express)

I’ve recently built Boost on MSVC12 (VS2013) using only a minor patch: Subject: [PATCH] Fixing boost serialization build on MSVC2013 include fix (manual) config_decltype_n3276_new.patch (from https://svn.boost.org/trac/boost/ticket/9410) As you can see it combines the patch from https://svn.boost.org/trac/boost/ticket/9410 with some manual include fixes (they were trivial). This is the effective patch: diff –git a/3rdparty/boost_1_55_0/boost/archive/iterators/transform_width.hpp b/3rdparty/boost_1_55_0/boost/archive/iterators/transform_width.hpp index 5a5c7b7..8da85ee … Read more

Developing .NET Compact Framework apps in Post-2008 Visual Studio?

I’m positive this question is a duplicate, but for the life of me I can’t find the original so I’ll re-answer here. Microsoft’s support for Compact Framework development is not completely obvious or well documented. It’s a mixed matrix of the target version of Windows CE, the version of the Compact Framework and the version … Read more

Get ExtraData from MVC5 framework OAuth/OWin identity provider with external auth provider

Recently I had to get access to Google profile’s picture as well and here is how I solve it… If you just enable the code app.UseGoogleAuthentication(); in the Startup.Auth.cs file it’s not enough because in this case Google doesn’t return any information about profile’s picture at all (or I didn’t figure out how to get … Read more

Allow loading of JSON files in Visual Studio Express 2013 for Web

After some more googling, and experimenting I found out, that you have to define IIS settings in the Web.config. After adding the following configuration: <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> </staticContent> </system.webServer> it works like a charm. Full setup file example: <?xml version=”1.0″?> <configuration> <system.web> <compilation debug=”true” targetFramework=”4.0″/> </system.web> <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> … Read more