We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use cmd : dotnet publish --no-restore --configuration Release what's problem?
error like this: /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ecis -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis/bin/Release/net8.0/ecis.dll Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Compiling native assets with emcc with -Oz. This may take a while ... /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ERROR: Job failed: exit status 1
/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ecis -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis/bin/Release/net8.0/ecis.dll Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Compiling native assets with emcc with -Oz. This may take a while ... /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ERROR: Job failed: exit status 1
The text was updated successfully, but these errors were encountered:
when I use cmd: dotnet publish --no-restore --configuration Debug, there is no error.
Sorry, something went wrong.
No branches or pull requests
use cmd : dotnet publish --no-restore --configuration Release
what's problem?
error like this:
/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ecis -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis/bin/Release/net8.0/ecis.dll Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Optimizing assemblies for size may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink Compiling native assets with emcc with -Oz. This may take a while ... /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/pinvoke.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/pinvoke.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/corebindings.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/corebindings.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : Failed to compile /home/gitlab-runner/.dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.browser-wasm/8.0.1/runtimes/browser-wasm/native/src/driver.c -> /home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/obj/Release/net8.0/wasm/for-publish/driver.o [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : File "/home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.linux-arm64/8.0.1/Sdk/../tools/emscripten/emcc.py", line 193 [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : logger.debug(f'(not saving intermediate {name} because not generating JS)') [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : ^ [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] /home/gitlab-runner/.dotnet/packs/Microsoft.NET.Runtime.WebAssembly.Sdk/8.0.1/Sdk/WasmApp.Native.targets(366,5): error : SyntaxError: invalid syntax [took 0.01s] [/home/gitlab-runner/builds/pBNz6NsDZ/0/2025/ecis/ecis.Client/ecis.Client.csproj] ERROR: Job failed: exit status 1
The text was updated successfully, but these errors were encountered: