-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VS Code] Could not load file or assembly 'XXXXXX, Version=X.X.X.X, Culture=neutral, PublicKeyToken=XXXXXXXXXXXX'. The system cannot find the file specified. #112
Comments
@Salty923 Thanks for reporting this! Any chance you recall how to repro it? Did you get this error immediately after installing the extension? After trying to share? Something else? |
@samirbehara also hit this. Steps to Reproduce:
From @srivatsn: could you please check if the dll is present in the extension directory i.e Response from @samirbehara: I verified that the dll is present in the extension directory. |
@samirbehara Did you happen to have multiple windows open when installing the extension when you hit this? (Trying to determine if this is a variation of #124) |
@Chuxel - I will confirm that I did not have multiple windows open while installing the extension. |
Yes I did. It is working great now.
…Sent from my iPhone
On Mar 7, 2018, at 1:59 PM, Samir Behara ***@***.***> wrote:
@Chuxel - I will confirm that I did not have multiple windows open while installing the extension.
I spent some time trying to recreate this issue. However noticed that once I closed and reopened VSCode, the issue auto resolved and I am able to use the Live 'Share' option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@Salty923 @samirbehara That is good news. 👏 @srivatsn Should we merge this in with #124 which has a fix in the queue or keep it open since the behavior was slightly different? |
I think this is different - the workaround for #124 is to uninstall and reinstall the extension. Here @samirbehara found that the file did exist on disk and simply reopening VSCode solved it. I don't understand why that would be yet. |
@srivatsn -- I uninstalled and reinstalled the VS Live Share extension, however was not able to replicate the error. |
Consolidating #131 under this same bug. Bug info from @ffxsam: Error:Could not load file or assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified. Steps to Reproduce:
|
Could the next person who runs into this issue please take a look at |
Merging in #162 - @avanderhoorn, @ anubhavmishra did verify that the files were indeed on disk. Error:Could not load file or assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=REDACTED'. The system cannot find the file specified. Steps to Reproduce:
From @Chuxel: Hey @anubhavmishra, thanks for reporting this!! I think you're hitting #112. Can you try completely shutting down VS Code and then reinstalling the extension to verify that fixes the problem? Also, could you please take a look at ~/.vscode/extensions/ms-vsliveshare.vsliveshare-0.2.260/dotnet_modules and confirm System.Runtime.Serialization.dll is actually there? From @anubhavmishra: It gave me the same error message as above but for another file:
I then went on to check whether that file existed under |
@Dussed - Could you please take a look at ~/.vscode/extensions/ms-vsliveshare.vsliveshare-0.2.260/dotnet_modules and confirm System.Runtime.Serialization.dll is actually there? After that, you should just be able to restart VS Code completely or failing that uninstall and re-install the extension to unblock you. Error:Could not load file or assembly 'System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified. Steps to Reproduce:
|
We have put steps in to resolve this with release v0.2.307! It's possible there are still scenarios where this error could occur, so please let us know if you encounter the problem again. |
Reopening. 😭 It appears there is still a code path that is causing this error though the most recent report is a different assembly. Merging this in here to have a consolidated source. From #176 from @awentzel. Error:Could not load file or assembly 'Microsoft.Cascade.Ssh, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified. Steps to Reproduce:
Really too many steps to figure out where it went wrong. Took literally 15 different attempts and different ways of installing, reloading, shutting down vscode, then restarting. This seems to be what finally did the trick to get it to run. But, lots of errors along the way.
|
We just released v0.2.399 that should provide some improvements in this space. It would be interesting to hear if anyone hits this again with this update. |
Closing this as resolved since we addressed it in an update, and we haven't seen it reported since. Please re-open if you experience this bug again. Thanks! |
Delete accidentally added .build folder
Error:
Could not load file or assembly 'System.Net.NetworkInformation, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: