dotnet add package Neon.WSL --version 3.1.0
NuGet\Install-Package Neon.WSL -Version 3.1.0
<PackageReference Include="Neon.WSL" Version="3.1.0" />
paket add Neon.WSL --version 3.1.0
#r "nuget: Neon.WSL, 3.1.0"
// Install Neon.WSL as a Cake Addin #addin nuget:?package=Neon.WSL&version=3.1.0 // Install Neon.WSL as a Cake Tool #tool nuget:?package=Neon.WSL&version=3.1.0
INTERNAL USE ONLY: This library includes some WSL2 related helper classes intended for internal use and is not generally supported at this time.
Build an Ubuntu-20.04 WSL2 image
We require an Ubuntu-20.04 WSL2 image for builds and unit testing to be located at:
This file will be gzipped and will have [Content-Encoding=gzip] and will have SUDO password prompting disabled.
Steps: Note that you must be a maintainer to upload the image
Install Ubuntu 20.04 WSL from the Windows Store, setting the user credentials to: *sysadmin/sysadmin0000
Make the distro support version 2 and be the default. In a Windows command window:
wsl -d Ubuntu-20.04 --set-version 2 wsl -d Ubuntu-20.04 --set-default
Enable root login for Ubuntu 20.04 WSL distros:
ubuntu2004 config --default-user root` wsl -d Ubuntu-20.04 ```
Export the WSL2 image as a TAR file, gzip it, and then upload to S3 (in a Windows command window):
mkdir C:\Temp wsl --terminate Ubuntu-20.04 del C:\temp\ubuntu-20.04.tar.gz C:\Temp\ubuntu-20.04.tar wsl --export Ubuntu-20.04 C:\temp\ubuntu-20.04.tar pigz --best --blocksize 512 C:\Temp\ubuntu-20.04.tar ren C:\Temp\ubuntu-20.04.tar.gz ubuntu-20.04.tar s3-upload C:\Temp\ubuntu-20.04.tar https://neon-public.s3.us-west-2.amazonaws.com/download/neon-ubuntu-20.04.tar -gzip -publicReadAccess del C:\Temp\ubuntu-20.04.tar.gz C:\temp\ubuntu-20.04.tar
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.