This repository contains:
- an Uno Platform Application created with
dotnet new unoapp
- a Dev Container configuration for WebAssembly development
- Make sure Allow GitHub Actions to create and approve pull requests is checked in the repository settings
- Run the GitHub Template Rename action
- Merge the pull request
Copy solution-config.props.sample
to solution-config.props
and uncomment line:
<!-- <OverrideTargetFrameworks Condition="''!='hint: WASM, Skia'">$(OverrideTargetFrameworks);net7.0</OverrideTargetFrameworks> -->
- build:
dotnet build UnoDevContainerApp.DevContainer.slnf
- run:
dotnet run --project UnoDevContainerApp.Wasm
When running from a GitHub Codespace, you need to mark the port 5000 as Public. Be advised that this enables outside anonymous access.
Run Restart OmniSharp from the command palette after the project has been built.