I’ve been having issues installing Visual Studio 2017 for a while now and wanted to write a quick post on how I personally got around my issue.
About 2 months ago, I installed VS2017 Enterprise and everything went well. Then, I had to change the install settings (add more Web development components) but during the install, it died for some reason. I tried re-doing the install but it wouldn’t work. I tried uninstalling VS to start over. Everything looked good at that point.
Once I tried the install again, I got an error: A product matching the following parameters cannot be found: channelId: VisualStudio.15.Release channelId: Microsoft.VisualStudio.Product.Enterprise
(Yes, I’m installing the Enterprise version but it was the same error with Professional)
I tried every suggestion I could find on how to fix it. My solution came from clicking the link to view the log where is said an internal error about: System.MissingMethodException: Method not found: ‘Void NewtonSoft.Json.Serialization.JsonDictionaryContract.set_DictionaryKeyResolver(…..)’
After doing some searches, my issue was solved by removing the NewtonSoft.Json library from the GAC.
To do this, run: gacutil.exe /uf NewtonSoft.Json
Then, I re-ran the installer like normal.