Tuesday, September 25, 2018

Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies

I can't get the light bulb in Visual Studio 2015, and when I go to the context menu, I now get an error message:

Could not load file or assembly 'Microsoft.CodeAnalysis, version= 1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.




So, for me, the answer was to install Visual Studio Update 3, found in Visual Studio under
Tools >> Extensions and Updates...


Tuesday, September 4, 2018

How to get around tablet mode on Windows 10

Oh my gracious, how I (sometimes) loathe default settings.

In Windows 10, for example, the default to "prompt" for tablet mode, when I'm exclusively on a laptop, is infuriating.

Here's how I get around that!

Let's open the Start Menu, and click on the Settings app.

Now click System, then Tablet Mode.

So, the click path is

Start >> Settings >> System >> Tablet Mode

Set the options :

"When I sign in" to use desktop mode
"When this device automatically switches tablet mode on or off" to don't ask me and don't switch
"Hide app icons on the taskbar in tablet mode" to off
"Automatically hide the taskbar in tablet mode" to off

Lastly, restart either your PC, or at least the problematic app - for me, it was Remote Desktop - and try again.

That's it!