How to fix “Internal Diagnostics Hub Exception” in VS 2015 Update 1?

I dug into the the Visual Studio logs to understand what was happening (C:\Users\YourUser\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml). In mine, the messages were something like this: <entry> <record>846</record> <time>2016/07/22 01:07:20.351</time> <type>Information</type> <source>VisualStudio</source> <description>Entering function CVsPackageInfo::HrInstantiatePackage</description> <guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid> </entry> <entry> <record>847</record> <time>2016/07/22 01:07:20.367</time> <type>Information</type> <source>VisualStudio</source> <description>Begin package load [Microsoft.VisualStudio.LanguageServices.TypeScript.TypeScriptPackage, Microsoft.VisualStudio.LanguageServices.TypeScript, Version=14.0.0.0, Culture=neutral]</description> <guid>{2FFE45C4-5C73-493C-B187-F2E955FF875E}</guid> </entry> <entry> <record>848</record> <time>2016/07/22 01:07:20.374</time> <type>Error</type> <source>VisualStudio</source> <description>LegacySitePackage … Read more

How to build boost Version 1.58.0 using Visual Studio 2015 (Enterprise)

Unfortunately Boost documentation is quite verbose because it tries to take care of all OS and environments. Also, it skips over some time saving details. Here’s quick steps specifically for VS2015 with Boost 1.61. First, let’s understand that Boost is huge library with lots of contributors. Consequently, all of the Boost code is divided in … Read more

How can XUnit be configured to show just the method name in the Visual Studio 2015 Test Explorer?

You can also add it with json. In the root directory of your test project add a file called “xunit.runner.json”. Right-click the file, properties. Select “Copy if newer” for copy to Output directory. Then in the file enter this json: { “methodDisplay”: “method” } Note that you may1 require to restart the IDE in order … Read more

Remove ios, windows8, and wp8 from Xamarin Forms PCL – nuget 3.0 opt-into error?

The solution that worked for me: Uninstall Xamarin.Forms: Right Click Solution -> Manage NuGet Packages -> Uninstall Xamarin.Forms -> Restart VS Then remove build platforms: Right Click Solution -> Properties -> Build -> under Targeting select Change -> Remove platform(s) -> Restart VS Reinstall Xamarin.Forms: Manage NuGet packages -> Search for Xamarin.Forms -> Install -> … Read more

ASP.NET Core deployment to IIS error: Development environment should not be enabled in deployed applications

First, check the value of ASPNETCORE_ENVIRONMENT variable. You will have to set this environment variable to “Production” (or other environment than Development) Otherwise, you can update web.config like this- <configuration> <!– Configure your application settings in appsettings.json. Learn more at http://go.microsoft.com/fwlink/?LinkId=786380 –> <system.webServer> <handlers> <add name=”aspNetCore” path=”*” verb=”*” modules=”AspNetCoreModule” resourceType=”Unspecified” /> </handlers> <aspNetCore processPath=”.\Application.exe” arguments=”” … Read more

Force uninstall of Visual Studio

I was running in to the same issue, but have just managed a full uninstall by means of trusty old CMD: D:\vs_ultimate.exe /uninstall /force Where D: is the location of your installation media (mounted iso, etc). You could also pass /passive (no user input required – just progress displayed) or /quiet to the above command … Read more