Skip to content

Propertygroup WitBindgenAddtionalArgs values doesn't get sent to wit-bindgen #77

@usergood

Description

@usergood

Its seem like the newly added WitBindgenAddionalArgs doesn't get sent to the the wit-bindgen command.

Context i use a custom wit-world + wasi-http, and even with the <WitBindgenAddionalArgs>--with-wit-results</WitBindgenAddionalArgs> it still doesn't generate the result type in the generated files.

If i force an error in my wit-types i can see the parameters being sent to wit-bindgen.

C:\Users\USERNAME\.nuget\packages\bytecodealliance.componentize.dotnet.witbindgen\0.6.0-preview00009\build\..\tools\win-x64\wit-bindgen.exe c-sharp wit --world api --runtime native-aot  --out-dir obj\Debug\net9.0\wasi-wasm\wit_bindgen\ 

I have setup a branch in my test repository to reproduce the error
https://github.com/usergood/csharp-wasi-test/tree/testing_wit_result

Package-version: 0.6.0-preview00009
OS: Windows 11

And thanks for the latest release, it fixed a lot of issues!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions