-
Notifications
You must be signed in to change notification settings - Fork 199
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
Error when using components in if blazor server side #7258
Comments
@Alerinos thanks for contacting us. Can you provide a minimal repro project as a public github repository so that we can make progress on this issue? |
Hi @Alerinos. We have added the "Needs: Author Feedback" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time. |
if has Col in code block, will show editor syntax error like above, but compiled and exectued is ok |
@chsienki Can I ask for help? Unfortunately, many libraries including AntBlazor use this namespace, which causes problems when we want to give a condition. @mkArtakMSFT I think in .net 8 we should take care of this. |
@mkArtakMSFT Is there any update on this issue? For me it happens in some random cases when razor tag is put inside code block: It's not only intellisense, it also blocks building for me. |
Yes, change the name. Nie naprawią tego szybko |
This happens when all of the following is true:
Also reported at #8460. |
Is there an existing issue for this?
Describe the bug
is if:


not if, work:
Code:
Row.razor
Col.razor
Card.razor
Error:

Błąd (aktywny) RZ1034 Found a malformed 'Col' tag helper. Tag helpers must have a start and end tag or be self closing.
What did I do wrong? I was looking for a solution but unfortunately I can't see it ..
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.net core 7 preview 2
Anything else?
No response
The text was updated successfully, but these errors were encountered: