Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Components.Routes could not be found in the assembly in Azure app service for Blazor app

$
0
0

I have a Balzor app deployed in an Azure app service (free plan). This is mostly for a POC. The app runs smoothly in my developing machine. But when I browse the site from app service, it throws an unhandle exception,

blazor.web.js:1 ManagedError: One or more errors occurred. (Root component type '*.Components.Routes' could not be found in the assembly '**'.)    at an (dotnet.runtime.qrl1fuqt3c.js:3:26894)    at Kt.resolve_or_reject (dotnet.runtime.qrl1fuqt3c.js:3:26449)    at dotnet.runtime.qrl1fuqt3c.js:3:172526    at dotnet.runtime.qrl1fuqt3c.js:3:172590    at fr (dotnet.runtime.qrl1fuqt3c.js:3:35046)    at Fc (dotnet.runtime.qrl1fuqt3c.js:3:172173)    at dotnet.native.9msu8ucn2h.wasm:0x1f0b8    at dotnet.native.9msu8ucn2h.wasm:0x1c7c6    at dotnet.native.9msu8ucn2h.wasm:0xea13    at dotnet.native.9msu8ucn2h.wasm:0x1eb9c

I have deleted the obj and bion folder and clean the project several times. Also deleted all the files from the app service also. Nothing worked so far.

I do not know how to debug this.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>