Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ obj/
.vs/
artifacts/
test/WasmComponentSdkTest/testapps/OciWit/wit
.DS_Store
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ If you don't already have it, install [.NET 8+ SDK](https://dotnet.microsoft.com

* `dotnet new console -o MyApp`
* `cd MyApp`

Create a `nuget.config` file and add the `dotnet-experimental` package source for the `NativeAOT-LLVM` dependency:

* `dotnet new nugetconfig`
* Add these keys to `nuget.config` after `<clear />`:

```xml
<add key="dotnet-experimental" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-experimental/nuget/v3/index.json" />
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
```

Add the `componentize-dotnet` package:

* `dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease`

### 3. Configure the compilation output
Expand Down