{"id":15409929,"url":"https://github.com/havendv/webassembly","last_synced_at":"2026-04-28T08:39:15.414Z","repository":{"id":237650773,"uuid":"697573406","full_name":"HavenDV/WebAssembly","owner":"HavenDV","description":"WebAssembly workload and separate `net7.0-webassembly` TargetFramework like Tizen.NET to use WebAssembly in single project solutions and differentiate it from `net7.0`","archived":false,"fork":false,"pushed_at":"2024-05-02T11:06:48.000Z","size":209,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T01:23:57.872Z","etag":null,"topics":["dotnet","net6","net7","net8","ref","sdk","targetframework","tfm","tizen","webassembly","workload"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HavenDV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-28T02:48:24.000Z","updated_at":"2024-05-02T11:06:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"141bb58b-e3a5-42e4-99fb-ddf48908fdd8","html_url":"https://github.com/HavenDV/WebAssembly","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"261b05c6c63c34b0c08b014344123ebf74bc2fc2"},"previous_names":["havendv/webassembly"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HavenDV/WebAssembly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FWebAssembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FWebAssembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FWebAssembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FWebAssembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HavenDV","download_url":"https://codeload.github.com/HavenDV/WebAssembly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HavenDV%2FWebAssembly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32373514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","net6","net7","net8","ref","sdk","targetframework","tfm","tizen","webassembly","workload"],"created_at":"2024-10-01T16:42:03.249Z","updated_at":"2026-04-28T08:39:15.377Z","avatar_url":"https://github.com/HavenDV.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WebAssembly\n\n[![dotnet](https://github.com/HavenDV/WebAssembly/actions/workflows/dotnet.yml/badge.svg?branch=main)](https://github.com/HavenDV/WebAssembly/actions/workflows/dotnet.yml)\n[![License: MIT](https://img.shields.io/github/license/HavenDV/WebAssembly)](https://github.com/HavenDV/WebAssembly/blob/main/LICENSE.txt)\n[![Discord](https://img.shields.io/discord/1115206893015662663?label=Discord\u0026logo=discord\u0026logoColor=white\u0026color=d82679)](https://discord.gg/Ca2xhfBf3v)\n\n\u003cb\u003eWebAssembly\u003c/b\u003e is separate TPM for developing WebAssembly applications within a single project, if there are other TargetFrameworks using the main `net8.0` TPM.\n\n## Usage\nJust install and add `net8.0-webassembly` to `TargetFrameworks`.\n\n## Install\nYou can install WebAssembly workload for .NET 6.0/7.0/8.0 by using the installer script.\n- On Linux / macOS:\n```\ncurl -sSL https://raw.githubusercontent.com/HavenDV/WebAssembly/main/scripts/workload-install.sh | sudo bash\n```\nif you want to install a specific version of WebAssembly workload or install to a specific directory, use the following command:\n```\ncurl -sSL https://raw.githubusercontent.com/HavenDV/WebAssembly/main/workload/scripts/workload-install.sh | bash /dev/stdin -v \u003cversion\u003e -d \u003cdirectory\u003e\n```\n- On Windows:\n```\nInvoke-WebRequest 'https://raw.githubusercontent.com/HavenDV/WebAssembly/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1';\n./workload-install.ps1 [-v \u003cversion\u003e] [-d \u003cdirectory\u003e]\n```\nYou can see the WebAssembly workload as follows if it is properly installed.\n```\nPS D:\\workspace\u003e dotnet workload list\n\nThis command lists only workloads that were installed via `dotnet workload install` in this version of the SDK and not those that were installed via Visual Studio.\n\nInstalled Workload Ids\n----------------------\nmaui\nwebassembly\n\nUse `dotnet workload search` to find additional workloads to install.\n\nUpdates are avaliable for the following workload(s): maui webassembly. Run `dotnet workload update` to get the latest  \n```\n\n## Development\nYou can test this project using these commands(tested on macOS) in `src/tasks/tasks` folder:\n```\ndotnet build /t:TestWorkload\ndotnet build /t:WorkloadUninstall\n\nother possible targets(it already included in targets above):\nDownloadDotnetInstall\nDotnetInstall\nWorkloadInstall\nBuildPackages\nCleanArtifactsAndTemporaryFiles\n\nYou can override these properties:\n/p:UseCurrentDotnet=true - Will install workload to current dotnet instead downloaded.\n```\n\n### Disclaimer\nAlthough this is a working solution, I have simplified some things regarding workload and manifest,\nwhich could theoretically cause problems (for example, when upgrading to a new sdk version).  \nI'll be glad to hear about it in issues.\n\n### Docs\nOfficial documentation regarding the design of Workloads and Sdks:\n- https://github.com/dotnet/sdk/tree/main/documentation/general/workloads\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workloads.md\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-resolvers.md\n- https://github.com/dotnet/designs/blob/main/accepted/2020/workloads/workload-manifest.md\n- https://github.com/dotnet/designs/blob/main/accepted/2021/workloads/workload-installation.md\n- MAUI Workload - https://github.com/dotnet/maui/tree/main/src/Workload\n- Tizen Workload - https://github.com/Samsung/Tizen.NET/tree/main/workload\n\n### Support\nPriority place for bugs: https://github.com/HavenDV/WebAssembly/issues  \nPriority place for ideas and general questions: https://github.com/HavenDV/WebAssembly/discussions  \nDiscord: https://discord.gg/g8u2t9dKgE  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fwebassembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhavendv%2Fwebassembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhavendv%2Fwebassembly/lists"}