Getting-Started-Instructions for Studio Code Server Addon don't work
empireelement opened this issue · 2 comments
empireelement commented
The instructions at https://netdaemon.xyz/docs/v3/started/development#24-studio-code-server-addon don't work.
- Trying to install
dotnet-sdk-8.0results in the errorUnable to locate package dotnet-sdk-6.0(i think because the container is based on an too old debian release) - The C# addons (ms-dotnettools.csharp) is not available for vscode-server(i believe because of issues with the licence of the addon)
A workaround for 1. is as follows:
init_commands:
- wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
- chmod +x ./dotnet-install.sh
- ./dotnet-install.sh --channel 8.0
- export DOTNET_ROOT=$HOME/.dotnet
- export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
- export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
- dotnet tool install -g NetDaemon.HassModel.CodeGen
For 2. the free-omnisharp-vscode extension can be installed instead
helto4real commented
Yea probably some issue when we got to .NET 8, thanks for pointing that out.