I am using Windows and do not have 'unzip' in my path (I use 7-zip)
Replacing the MSBuild Exec task with another built-in MSBuild task Unzip removes the need to have
Trying to build
PS> cd srcPS> dotnet build .\Wasmtime.sln
results in this error
E:\MyGithub\wasmtime-dotnet\src\Wasmtime.csproj(166,5): error MSB3073: The command "unzip wasmtime-dev-x86_64-windows-c-api.zip" exited with code 900
9.
C:\Program Files\dotnet\sdk\7.0.305\Microsoft.Common.CurrentVersion.targets(5150,5): error MSB3030: Could not copy the file "E:\MyGithub\wasmtime-dot
net\src\obj\wasmtime-dev-x86_64-windows-c-api\lib\wasmtime.dll" because it was not found. [E:\MyGithub\wasmtime-dotnet\src\Wasmtime.csproj::TargetFra
mework=net7.0]
I'll be happy to contribute a PR with the switch if you are interested.
I am using Windows and do not have 'unzip' in my path (I use 7-zip)
Replacing the MSBuild
Exec
task with another built-in MSBuild taskUnzip
removes the need to haveTrying to build
PS> cd src
PS> dotnet build .\Wasmtime.sln
results in this error
I'll be happy to contribute a PR with the switch if you are interested.