dotnet build in the samples/AspNetCoreOnCustomHost folder
Getting error:
lang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-ee-interp.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-ilgen.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-wasi-driver.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmonosgen-2.0.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-hot_reload-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-marshal-ilgen-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-diagnostics_tracing-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-debugger-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
dotnet build in the samples/AspNetCoreOnCustomHost folder
Getting error:
lang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-ee-interp.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-ilgen.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-wasi-driver.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmonosgen-2.0.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-hot_reload-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-marshal-ilgen-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-diagnostics_tracing-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj] clang-14 : error : no such file or directory: '/home/user/workspace/dotnet-wasi-sdk/src/Wasi.Sdk/build/../packs/wasi-wasm/native/libmono-component-debugger-stub-static.a' [/home/user/workspace/dotnet-wasi-sdk/samples/AspNetCoreOnCustomHost/AspNetCoreOnCustomHost.csproj]
The files are actually located in the folder:
libmono-ee-interp.a
modules/runtime/artifacts/bin/externals/Release/net7.0/libmono-ee-interp.a modules/runtime/artifacts/bin/testhost/net7.0-Browser-Release-wasm/shared/Microsoft.NETCore.App/7.0.0/libmono-ee-interp.a modules/runtime/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm/Release/runtimes/browser-wasm/native/libmono-ee-interp.a modules/runtime/artifacts/bin/mono/Browser.wasm.Release/libmono-ee-interp.a modules/runtime/artifacts/obj/mono/Browser.wasm.Release/out/lib/libmono-ee-interp.a modules/runtime/artifacts/obj/mono/Browser.wasm.Release/mono/mini/libmono-ee-interp.a
libmono-ilgen.a
modules/runtime/artifacts/bin/externals/Release/net7.0/libmono-ilgen.a modules/runtime/artifacts/bin/testhost/net7.0-Browser-Release-wasm/shared/Microsoft.NETCore.App/7.0.0/libmono-ilgen.a modules/runtime/artifacts/bin/microsoft.netcore.app.runtime.browser-wasm/Release/runtimes/browser-wasm/native/libmono-ilgen.a modules/runtime/artifacts/bin/mono/Browser.wasm.Release/libmono-ilgen.a modules/runtime/artifacts/obj/mono/Browser.wasm.Release/out/lib/libmono-ilgen.a modules/runtime/artifacts/obj/mono/Browser.wasm.Release/mono/mini/libmono-ilgen.a
I think it should look for the files in the modules/runtime/artifacts/bin/mono/Browser.wasm.Release folder