When launching our site on older browsers/devices such as iPhone 11 we are getting errors on the index.html page of the Blazor project.
I have tried some workarounds in the .csproj file to disable SIMD but have not had any luck.
<WasmEnableExceptionHandling>false</WasmEnableExceptionHandling>
<WasmEnableSIMD>false</WasmEnableSIMD>
This seems to have come during the same time we did a .NET 8 and ABP 8 upgrade.
Has anyone found a workaround to get older devices to work with WASM? Unfortunately we cannot tell them that we do not support their device.
Forgot to update in the thread it was figured out. The CLI needed to be updated and then I could proceed with bundling.
I am trying to upgrade from v7 to v8. In doing so I am needing to bundle my app to get passed an error that is thrown in my console when running my Blazor app.
I am trying to rebundle the files. When I run the 'abp bundle --force' command my project appears to build but am getting a bundle error. (See below)
C:\Users\timswanson\source\repos_\src_.Blazor>abp bundle --force ABP CLI 8.1.3 Building....: (1/1)C:\Users\timswanson\source\repos_\src__.csproj Executing...: dotnet build C:\Users\timswanson\source\repos_\src______.csproj Determining projects to restore...
Time Elapsed 00:00:23.44 Generating style bundle... Unable to find static web assets file. You need to build the project to generate static web assets file. Unable to find static web assets file. You need to build the project to generate static web assets file.
Volo.Abp.Cli.Bundling.BundlingException: Unable to find static web assets file. You need to build the project to generate static web assets file.
at Volo.Abp.Cli.Bundling.BundlerBase.BundleWebAssemblyFiles(BundleOptions options, List1 bundleDefinitions) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 69 at Volo.Abp.Cli.Bundling.BundlerBase.Bundle(BundleOptions options, BundleContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 38 at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild, String projectType) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 92 at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 47 at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 173 at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 80 Unhandled exception. Volo.Abp.Cli.Bundling.BundlingException: Unable to find static web assets file. You need to build the project to generate static web assets file. at Volo.Abp.Cli.Bundling.BundlerBase.BundleWebAssemblyFiles(BundleOptions options, List
1 bundleDefinitions) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 69
at Volo.Abp.Cli.Bundling.BundlerBase.Bundle(BundleOptions options, BundleContext context) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlerBase.cs:line 38
at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild, String projectType) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 92
at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 47
at Volo.Abp.Cli.CliService.RunInternalAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 173
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 80
at Volo.Abp.Cli.Program.Main(String[] args) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli\Volo\Abp\Cli\Program.cs:line 43
at Volo.Abp.Cli.Program.(String[] args)