-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF app with BlazorWebView fails to compile the Razor components #3526
Comments
|
This reproduces locally for me. There's something weird about everything in |
Let's spent one day to understand what is the issue here first. Depending on the findings and how much time will be required to address that issue we'll then decide whether this will be supported for the initial release or not. |
For time being, customers can add their components in Razor Class Libraries instead. |
Description
I created a WPF app with a BlazorWebView and then tried to add the code for the default Blazor template, but I get a compilation error saying that one of the namespaces is missing, even though I have components in the Shared folder:
error CS0234: The type or namespace name 'Shared' does not exist in the namespace 'BlazorHybridWpf'
Here's my code: https://github.com/danroth27/BlazorHybridWpf
Steps to Reproduce
Version with bug
Preview 10 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Win11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: