I upgraded my code to .NET9. After the upgrade, I am getting undefined symbol error.
"wasm-ld : error : lto.tmp: undefined symbol: gprsharp_convert_clock_type [C:\dev\mymachine\build\ABv5P3KR\0\my-project\myprojectcode\src\MyModules\Module1\MyProject1.csproj]2238"This happens in the release build.
I set the flag WasmAllowUndefinedSymbols in BrowserWasmApp.targets file to true (the original value was false) and the code was built successfully with warnings. I don't understand why it fails when it is false after .NET9 upgrade.
<WasmAllowUndefinedSymbols Condition="'$(WasmAllowUndefinedSymbols)' == ''">false</WasmAllowUndefinedSymbols>