Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM WSL Configuration #709

Open
darenm opened this issue Apr 5, 2023 · 0 comments
Open

WASM WSL Configuration #709

darenm opened this issue Apr 5, 2023 · 0 comments

Comments

@darenm
Copy link

darenm commented Apr 5, 2023

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

@jeromelaban jeromelaban transferred this issue from unoplatform/uno Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant