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

“Are you missing an assembly reference?” compile error – Visual Studio

In my case it was a project defined using Target Framework: “.NET Framework 4.0 Client Profile ” that tried to reference dll projects defined using Target Framework: “.NET Framework 4.0”. Once I changed the project settings to use Target Framework: “.NET Framework 4.0” everything was built nicely. Right Click the project->Properties->Application->Target Framework

Visual Studio – how to find source of heap corruption errors

Begin with installing windbg: http://www.microsoft.com/whdc/Devtools/Debugging/default.mspx Then turn on the pageheap like this: gflags.exe /p /enable yourexecutable.exe /full This will insert a non writable page after each heap allocation. After this launch the executable from inside windbg, any writes outside the heap will now be caught by this debugger. To turn of the pageheap afterwards use … Read more

Awesome Visual Studio Macros [closed]

I add buttons on the toolbar for the following 3 macros. Each will take the currently selected text in any file and google it (or MSDN-it, or spell-check-it). Make up a nifty icon for the toolbar for extra style-points. Private Const BROWSER_PATH As String = “C:\Program Files\Mozilla Firefox\firefox.exe” Sub SearchGoogle() Dim cmd As String cmd … Read more

“Value does not fall within the expected range” when trying to add a reference in a project

I did a ‘devenv /setup’ and that fixed it. Detail Exit Visual Studio Click Start Type cmd, right click Command Prompt and select Run as administrator Navigate to the appropriate Visual Studio folder VS2012: pushd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE VS2015: pushd %programfiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE VS2017: pushd %programfiles(x86)%\Microsoft Visual Studio\2017\<Edition>\Common7\IDE VS2019: pushd %programfiles(x86)%\Microsoft Visual Studio\2019\<Edition>\Common7\IDE … Read more

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş