Trying to learn how to use VS Code with VSTS

I’ve been trying for months now to learn how to use Visual Studio Code (Code) with Visual Studio Team Services (VSTS). The biggest problem is not always having long enough time to devote to learning it. So, to help me out I’m making a link as to where I’m at in this learning process. This blog post Personal Access Tokens & VSTS so far is very helpful.


Discussion with MS Tech Support on Web API

A note about this blog post

Everything below is what I wrote, basically on the fly as it was happening. Please excuse the somewhat haphazard blog post.

The Problem

After creating a new Web API project and only adding the necessary information for the dev ADFS server, I got this error:



Message=Could not load file or assembly ‘Microsoft.IdentityModel.Protocols.WsFederation, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


I called Microsoft technical support on 7/20/20178 to resolve this issue.

Wrong WsFederation version

The error message I got when running VS 2017 debugging, telling me to install Microsoft.IdentityModel.Protocols.WsFederation version, was in fact, wrong. I should have installed 5.2.1.

And this post on forums

Fusion Logging

The tech support enabled something called Fusion logging, to help her diagnose what the issue was. She pointed me to this Stack Overflow post describing how to enable Fusion logging in the Registry.

Running Visual Studio was slow after that

The Fusion logging did slow down VS startup, obviously I’ve set both the EnableLog and ForceLog keys to 0 (they were set to 1). I had to reboot, to get it to work a bit faster.

Note: Do NOT simply delete the Registry cluster

Don’t just delete the registry cluster at Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
There are sub-folders (sub registry clusters) under that cluster that belong there! (e.g.: GACChangeNotification, NativeImagesIndex and PublisherPolicy).

Possible Alternatives to editing the Registry

The MS Technical support person didn’t mention this, but it looks like it is possible to run the Fusion log viewer differently.

Oh Groove, I am Going to Miss You!

We learned this week that Microsoft intends to discontinue their excellent music service, known as Groove. This for me very sad news. I’ve been a member of Microsoft’s music services since back in the Zune days. In the last 12 months I’ve really come to love Groove. I love its suggesting new playlists for me. I’ve listen to many of them. Some, I didn’t care for, but others I’ve loved. Its introduced new artists and music to me.

Then they made Groove even better by adding music videos! I had no idea how much I’d love watching music videos!

Yes, I know that the transition is going to Spotify. Yes, I know that many people love Spotify. But this still is a very, very sad time. And at least from the time I’ve spent with Spotify it didn’t deliver the music I liked, nor (as far as I know) does it provide music videos.

Oh well, we’ve no choice in the matter. I’ll just enjoy Groove for the time I have left with it and then move everything to Spotify.


One Way of Handling “Unhandled Exception: System.ComponentModel.Win32Exception: Only part of a ReadProcessMemory or WriteProcessMemory”

I’ve published my first Universal Windows Platform (UWP) app to the store about a month ago. I did some improvements on the UI and added ads, so I wanted to republish it. I ran into the following error:

“Unhandled Exception: System.ComponentModel.Win32Exception: Only part of a ReadProcessMemory or WriteProcessMemory request was completed at System.Diagnostics.NtProcessManager.GetMOduleInfos(Int32 processId, Boolean firstModuleOnly)…”

Posting questions I learned that the logs created by the Windows App Certification Kit needed to be cleared out. So, what I did was I went to C:\Users\Rod\AppData\Local\Microsoft\AppCertKit and deleted all of the files there.

Hopefully, if you run into this problem this may help.