This will fix an issue when users create a project name using a "pascal-dotted-case" format.
Example:
spin new http-csharp my-spin-demo
When this happens, the actual dotnet AssemblyName will be set to MySpinDemo but in the spin.toml file, the source will be set to bin/Release/net7.0/my-spin-demo.wasm.
As a result, the spin up command will return the following error:
Error: failed to resolve content at "/Users/paul/repos/fermyon/my-spin-demo/bin/Release/net7.0/my-spin-demo.wasm"
Caused by:
No such file or directory (os error 2)
This will fix an issue when users create a project name using a "pascal-dotted-case" format.
Example:
When this happens, the actual dotnet AssemblyName will be set to
MySpinDemo
but in the spin.toml file, the source will be set tobin/Release/net7.0/my-spin-demo.wasm
.As a result, the
spin up
command will return the following error: