woldner / VisualLinter

Visual Studio Linter using ESLint.
MIT License
25 stars 3 forks source link

Could not load file or assembly 'Microsoft.VisualStudio.Threading #20

Closed JWess closed 7 years ago

JWess commented 7 years ago

Installed product versions

Description

I installed VisualLinter just now, but when I check the Output from VisualLinter, I am greeted by the following error message:

Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=15.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

My project has a .eslintrc.json file at the solution directory level.

image

woldner commented 7 years ago

I have seen this error before, and updating Visual Studio to the latest version under Tools > Extensions and Updates... > Updates > Product Updates should fix the issue.

However, since this seem to be a recurring issue I am going to revert the line of code causing this error to appear. I will update my comment here once the update is available on the Marketplace.

woldner commented 7 years ago

A new version 1.0.191 will soon be available on the Marketplace. I will go ahead and close this issue. If updating the extension does not solve the bug, please post back here and I'll reopen the issue.

Thank you for your report!

woldner commented 7 years ago

After a little more digging I found that the version of Microsoft.VisualStudio.Threading changed from 15.0.0.0 to 15.3.0.0 in Visual Studio 2017 Update 3. I've added a binding redirect which could help counter this issue.

I'll reopen this issue so please post back here if updating the extension to version 1.0192 or higher does not help.

JWess commented 7 years ago

I just updated the extension to 1.0192 and restarted Visual Studio, but I seem to be getting the same error. I did not update Visual Studio yet, in case you want to continue to use me as a test bed.

image

image

woldner commented 7 years ago

Well that sucks.

I'll have to install the Visual Studio version you're on and try and reproduce this on my end.

Meanwhile, If you want to get started using this extension the CI build version 1.0.193 available here should fix the error for you.

Try and manually install this version of the extension and report back here if it fixes the error for you.

woldner commented 7 years ago

This will take some time for me to dig into. I'm able to reproduce this and will attempt to debug in the near future. I've gone ahead and reverted the code change that produce the error.

A new version 1.0.195 will soon be available on the Marketplace that should fix your error. Please post back here once you've updated with the results. Thanks.

woldner commented 7 years ago

After the sync process change the error seem to no longer be present. I'll go ahead and close this issue. If you still have this problem post back here and I'll have another look!