Uno.Wasm.Bootstrap icon indicating copy to clipboard operation
Uno.Wasm.Bootstrap copied to clipboard

WASM WSL Configuration

Open darenm opened this issue 1 year ago • 0 comments

Current behavior

When trying to setup a clean WSL Ubuntu environment I ran into errors I had to manually workaround.

The following issues when running the setup script on Ubuntu 22.04.2 LTS:

bash -c wslpath "C:\Users\dmay.nuget\packages\uno.wasm.bootstrap\7.0.19\build\scripts\dotnet-setup.sh"``

The script attempts to install the python package - this is no longer available The script attempts to install the dotnet core 3.0 SDK which fails with missing dependencies

Expected behavior

The setup script detects the version of ubuntu and installs the appropriate packages.

How to reproduce it (as minimally and precisely as possible)

The following issues when running the setup script on Ubuntu 22.04.2 LTS:

bash -c `wslpath "C:\Users\dmay\.nuget\packages\uno.wasm.bootstrap\7.0.19\build\scripts\dotnet-setup.sh"`

The script attempts to install the python package - this is no longer available The script attempts to install the dotnet code 3.0 SDK which fails with missing dependencies.

Workaround

I open the script and executed each line in turn.

Instead of

sudo apt install -y python mono-devel msbuild libc6 ninja-build

I ran (no python)

sudo apt install -y mono-devel msbuild libc6 ninja-build

Instead of

sudo apt-get -y install dotnet-sdk-3.0

I ran (updated to 7.0)

sudo apt-get -y install dotnet-sdk-7.0

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

darenm avatar Apr 05 '23 20:04 darenm