You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
馃悰 Describe the bug
Syncing Linux and Windows VSCode installations breaks the Live Share extension on Windows.
Settings Sync synchronizes the files ~/.config/Code/User/globalStorage/ms-vsliveshare.vsliveshare/dotnet-[[VERSION]]/shared/Microsoft.NETCore.App/[[VERSION]]/Microsoft.NETCore.App.deps.json from the Linux to the Windows install.
The Live Share plugin on Windows will then try to load the Linux libraries instead of the Windows ones.
At this point, trying to click "Share" or "Join" on Windows does nothing.
Trying to start a session with the palette gives the error message: "command 'liveshare.start' not found."
馃尨 Visual Studio Code Version : 1.57.1
馃尨 Code Settings Sync Version : v3.4.3
馃尨 Standard or Insiders : Standard
馃尨 Portable or Installed : Installed
馃尨 OSS or Official Build : Official Build
馃尨 Operating System : Manjaro Linux, Windows 10
馃尨 Occurs On: Upload
馃尨 Proxy Enabled: No
馃尨 Gist Id: 0f2168123728f23e3deef40b783cec6d
Live Share Version: v1.0.4498
馃摪 To Reproduce
Install VSCode on Linux.
Install and configure the Settings Sync and Live Code plugins.
Upload settings with Settings Sync.
Install VSCode on Windows.
Install and configure Settings Sync on the Windows installation.
Download settings with Settings Sync.
Try to start a Live Share session on the Windows machine.
馃挭 Expected behavior
Settings Sync should ignore all files named Microsoft.NETCore.App.deps.json from the directory User/globalStorage/ms-vsliveshare.vsliveshare
Activating extension 'ms-vsliveshare.vsliveshare' failed: Agent terminated with exit code: 0 and signal null: Error:
Anassembly specified in the application dependencies manifest(Microsoft.NETCore.App.deps.json)was not found:package:'runtime.linux-x64.Microsoft.NETCore.App',version:'3.1.14-servicing.21165.2'path:'runtimes/linux-x64/native/System.Globalization.Native.so'.
馃摵 Additional context
I solved the problem myself by adding "Microsoft.NETCore.App.deps.json" to the ignoreUploadFiles array in syncLocalSettings.json for all my machines.
For those with the same problem, here's how I fixed the Live Share extension install on Windows:
Add "Microsoft.NETCore.App.deps.json" to the ignoreUploadFiles array in syncLocalSettings.json on all your machines.
Remove the "Microsoft.NETCore.App.deps.json" files from the gist, using the git command line. (Not sure if this is necessary.)
Uninstall the Live Share plugin on the Windows VSCode install.
Delete the %APPDATA%\Code\User\globalStorage\ms-vsliveshare.vsliveshare
directory.
Delete the %USERPROFILE%\.vscode\extensions\ms-vsliveshare.vsliveshare-[[VERSION NUMBER]]
directory.
Re-install the Live Share plugin.
The text was updated successfully, but these errors were encountered:
馃悰 Describe the bug
Syncing Linux and Windows VSCode installations breaks the Live Share extension on Windows.
Settings Sync synchronizes the files
~/.config/Code/User/globalStorage/ms-vsliveshare.vsliveshare/dotnet-[[VERSION]]/shared/Microsoft.NETCore.App/[[VERSION]]/Microsoft.NETCore.App.deps.json
from the Linux to the Windows install.The Live Share plugin on Windows will then try to load the Linux libraries instead of the Windows ones.
At this point, trying to click "Share" or "Join" on Windows does nothing.
Trying to start a session with the palette gives the error message: "command 'liveshare.start' not found."
馃尨 Visual Studio Code Version : 1.57.1
馃尨 Code Settings Sync Version : v3.4.3
馃尨 Standard or Insiders : Standard
馃尨 Portable or Installed : Installed
馃尨 OSS or Official Build : Official Build
馃尨 Operating System : Manjaro Linux, Windows 10
馃尨 Occurs On: Upload
馃尨 Proxy Enabled: No
馃尨 Gist Id: 0f2168123728f23e3deef40b783cec6d
Live Share Version: v1.0.4498
馃摪 To Reproduce
馃挭 Expected behavior
Settings Sync should ignore all files named
Microsoft.NETCore.App.deps.json
from the directoryUser/globalStorage/ms-vsliveshare.vsliveshare
馃摵 Console Error Log
Developer Tools console error message on Windows:
馃摵 Additional context
I solved the problem myself by adding
"Microsoft.NETCore.App.deps.json"
to theignoreUploadFiles
array insyncLocalSettings.json
for all my machines.For those with the same problem, here's how I fixed the Live Share extension install on Windows:
"Microsoft.NETCore.App.deps.json"
to theignoreUploadFiles
array insyncLocalSettings.json
on all your machines."Microsoft.NETCore.App.deps.json"
files from the gist, using the git command line. (Not sure if this is necessary.)%APPDATA%\Code\User\globalStorage\ms-vsliveshare.vsliveshare
directory.
%USERPROFILE%\.vscode\extensions\ms-vsliveshare.vsliveshare-[[VERSION NUMBER]]
directory.
The text was updated successfully, but these errors were encountered: