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

.Net 8 Blazor Hybrid cannot read the MainLayout component in a shared Razor Class Library

$
0
0

everybody

I'm trying to use a Razor Class Library to share components to two Blazor apps: Web and Hybrid. On web project, the shared library worked great. But I cannot make it work with the Hybrid project. Look the window below:enter image description here

According to line 18, the app cannot find the MainLayout component:enter image description here

The Routes component is one and it's on shared library. Even adding AdditionalAssemblies, the app doesn't work:enter image description here

Follow the Hybrid MainPage.xaml:enter image description here

Follow the solution tree:enter image description here


Viewing all articles
Browse latest Browse all 4839

Trending Articles



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