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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Prepare WASM SDKs
run: dotnet msbuild src/WitBindgen/build/ByteCodeAlliance.Componentize.DotNet.WitBindgen.targets /t:PrepareWasmSdks
run: dotnet msbuild src/WitBindgen/build/BytecodeAlliance.Componentize.DotNet.WitBindgen.targets /t:PrepareWasmSdks
- name: Build
run: dotnet build --no-restore /p:BuildNumber=${{ github.run_number }}
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Requires [.NET 8+](https://dotnet.microsoft.com/en-us/download)

```
## needed to avoid errors with multiple projects calling and downloading the sdks at same time (https://github.com/bytecodealliance/componentize-dotnet/issues/8)
dotnet msbuild src/WitBindgen/build/ByteCodeAlliance.Componentize.DotNet.WitBindgen.targets /t:PrepareWasmSdks
dotnet msbuild src/WitBindgen/build/BytecodeAlliance.Componentize.DotNet.WitBindgen.targets /t:PrepareWasmSdks
dotnet build
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ With this package, you can add one NuGet reference. The build output is fully AO

If you don't already have it, install [.NET 8+ SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)

### 2. Create a project and add ByteCodeAlliance.Componentize.DotNet.Wasm.SDK package
### 2. Create a project and add BytecodeAlliance.Componentize.DotNet.Wasm.SDK package

* `dotnet new console -o MyApp`
* `cd MyApp`
* `dotnet add package ByteCodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease`
* `dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK --prerelease`

### 3. Configure the compilation output

Expand Down
8 changes: 4 additions & 4 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ gh workflow run build -f test-run=false
5. Maintainer updates release notes with package info:

```
# https://www.nuget.org/packages/ByteCodeAlliance.Componentize.DotNet.Wasm.SDK
dotnet add package ByteCodeAlliance.Componentize.DotNet.Wasm.SDK
# https://www.nuget.org/packages/BytecodeAlliance.Componentize.DotNet.Wasm.SDK
dotnet add package BytecodeAlliance.Componentize.DotNet.Wasm.SDK

# https://www.nuget.org/packages/ByteCodeAlliance.Componentize.DotNet.WitBindgen
dotnet add package ByteCodeAlliance.Componentize.DotNet.WitBindgen
# https://www.nuget.org/packages/BytecodeAlliance.Componentize.DotNet.WitBindgen
dotnet add package BytecodeAlliance.Componentize.DotNet.WitBindgen
```
6 changes: 3 additions & 3 deletions src/WasmComponent.Sdk/WasmComponent.Sdk.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="build\ByteCodeAlliance.Componentize.DotNet.Wasm.SDK.props" />
<Import Project="build\BytecodeAlliance.Componentize.DotNet.Wasm.SDK.props" />

<PropertyGroup>
<PackageId>ByteCodeAlliance.Componentize.DotNet.Wasm.SDK</PackageId>
<Authors>ByteCode Alliance Developers</Authors>
<PackageId>BytecodeAlliance.Componentize.DotNet.Wasm.SDK</PackageId>
<Authors>Bytecode Alliance Developers</Authors>
<Description>Tooling for creating WebAssembly components from C#</Description>
<RepositoryUrl>https://github.com/bytecodealliance/componentize-dotnet</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0 WITH LLVM-exception</PackageLicenseExpression>
Expand Down
6 changes: 3 additions & 3 deletions src/WitBindgen/WitBindgen.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="build\ByteCodeAlliance.Componentize.DotNet.WitBindgen.props" />
<Import Project="build\BytecodeAlliance.Componentize.DotNet.WitBindgen.props" />

<PropertyGroup>
<PackageId>ByteCodeAlliance.Componentize.DotNet.WitBindgen</PackageId>
<Authors>ByteCode Alliance Developers</Authors>
<PackageId>BytecodeAlliance.Componentize.DotNet.WitBindgen</PackageId>
<Authors>Bytecode Alliance Developers</Authors>
<Description>Tooling for creating WebAssembly components from C#</Description>
<RepositoryUrl>https://github.com/bytecodealliance/componentize-dotnet</RepositoryUrl>
<PackageLicenseExpression>Apache-2.0 WITH LLVM-exception</PackageLicenseExpression>
Expand Down
2 changes: 1 addition & 1 deletion test/E2ETest/testapps/E2EConsumer/E2EConsumer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ByteCodeAlliance.Componentize.DotNet.Wasm.SDK" Version="$(PackageVersion)" />
<PackageReference Include="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" Version="$(PackageVersion)" />

<!-- Just to ensure build order -->
<ProjectReference Include="..\E2EProducer\E2EProducer.csproj" ReferenceOutputAssembly="false" />
Expand Down
2 changes: 1 addition & 1 deletion test/E2ETest/testapps/E2EProducer/E2EProducer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ByteCodeAlliance.Componentize.DotNet.Wasm.SDK" Version="$(PackageVersion)" />
<PackageReference Include="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" Version="$(PackageVersion)" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions test/E2ETest/testapps/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</packageSources>
<packageSourceMapping>
<packageSource key="dev">
<package pattern="ByteCodeAlliance.Componentize.DotNet.WitBindgen" />
<package pattern="ByteCodeAlliance.Componentize.DotNet.Wasm.SDK" />
<package pattern="BytecodeAlliance.Componentize.DotNet.WitBindgen" />
<package pattern="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" />
</packageSource>
</packageSourceMapping>
</configuration>