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
Is your feature request related to a problem? Please describe.
As an extension author trying to create an extension that works on the desktop version of VS Code and on VS Code for the Web, I would like to have a single package.json file that accurately lists my extensionDependencies:
It doesn't actually matter that ms-dotnettools.vscode-dotnet-runtime doesn't work on the web, my extension can detect that it is running in the browser and use the WASI version of its backend. But because VS Code does not "Provide the ability to specify dependencies on a per-platform basis" (microsoft/vscode#136231), when I try to install the Web version of my extension, it complains that a dependency cannot be satisified.
See above: please provide a version of the extension package that "works" on the web. For my use-case it doesn't even need to implement its normal API - I will never call into it on the Web. But perhaps it's friendlier if the API is implemented but it just throws an Error that says that it is not supported on the web.
Additional context
Actually .NET can run in VS Code on the Web using the .NET 8 wasi-experimental workload. However there are a ton of caveats, so maybe in the future this extension can do something better on the web, but for now, just simplifying the build process is enough.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
As an extension author trying to create an extension that works on the desktop version of VS Code and on VS Code for the Web, I would like to have a single
package.json
file that accurately lists myextensionDependencies
:It doesn't actually matter that
ms-dotnettools.vscode-dotnet-runtime
doesn't work on the web, my extension can detect that it is running in the browser and use the WASI version of its backend. But because VS Code does not "Provide the ability to specify dependencies on a per-platform basis" (microsoft/vscode#136231), when I try to install the Web version of my extension, it complains that a dependency cannot be satisified.As a result, I'm forced to create per-platform
package.json
files which is kind of tedious and complicates my build process (see https://github.com/lambdageek/MSBuildStructuredLog/blob/wasi-single-thread/vscode/script/stage-packages.js)Describe the solution you'd like
See above: please provide a version of the extension package that "works" on the web. For my use-case it doesn't even need to implement its normal API - I will never call into it on the Web. But perhaps it's friendlier if the API is implemented but it just throws an
Error
that says that it is not supported on the web.Additional context
Actually .NET can run in VS Code on the Web using the .NET 8
wasi-experimental
workload. However there are a ton of caveats, so maybe in the future this extension can do something better on the web, but for now, just simplifying the build process is enough.The text was updated successfully, but these errors were encountered: