bytecodealliance / bytecodealliance/componentize-dotnet

Reference .wit files from outside .csproj directory

Open
#91 3 comments 4 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
147
Forks
18
PR merge metrics
No merged PRs in 30d

Description

It would be nice if it were possible to reference .wit files from outside the .csproj directory, such as:
```xml

```

However this doesn't currently seem to generate the bindings.

This would be useful to share .wit files between importing and exporting projects, rather than having duplicate files that need to be kept in sync.

Contributor guide

Open the contributing guide

Research direction

Use the sample .csproj ItemGroup with ..\calculator.wit as the first reproduction, then trace how the external .wit file is handled during binding generation. Done means a .wit file outside the .csproj directory generates bindings and can be shared by importing and exporting projects without duplication.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, wasm
Domain
build-system, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.