The type or namespace name 'XXXXX' does not exist in the namespace 'XXXXXX' (are you missing an assembly reference?) BlazorHybrid (net6.0-maccatalyst), BlazorHybrid (net6.0-windows10.0.19041) #4060
Labels
area-blazor
Blazor Hybrid / Desktop, BlazorWebView
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
t/bug
Something isn't working
Projects
Description
I am using Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.1.0 Preview 2.0
I am using DI for Platform Specific code. when i am using Android simulator, my project compiles without any error and runs without any error.
But when i change to iPhone local Device i get the following compile time errors. By creating shell implementation for the interface in remaining other platform i was able to get over Interface implementation error but .css error still remained.
Steps to Reproduce
Create Blazor MAUI Hybrid App
Try running the App on Andorid Simulator, it should compile and run without any error.
Change the Device to iPhone Local Device
It will start displaying compile time error and app cannot be launched.
2) Implement the interface in other platform(Ok throw not implemented error)
Interface related error will no longer show up but .css related error still exists and app cannot be compiled or launched
Version with bug
Preview 11
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
ISO Platform is affected
Did you find any workaround?
none
Relevant log output
No response
The text was updated successfully, but these errors were encountered: