In the omnisharp-vscode wiki, it says:
When you install the C# extension for the first time it will try to download its dependencies. It needs to do this because the C# extension uses a number of platform-dependent files. So the extension itself contains the platform-neutral bits, and it will download the platform-specific bits on first use.
But… what if you would like to pre-install all dependencies of omnisharp vscode extension?
Well, this simple task demonstrated to not be as easy as it seems.
So, I came up with a Dockerfile
which does that for you:
In the end, you have all .vsix
files in your new image — ready to be installed in VSCode, and with no dependencies. 😃