-
Notifications
You must be signed in to change notification settings - Fork 10k
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
support for dynamic keyword #16283
Comments
It did work ok when I tried it. Could you post a code sample that reproduces the issue? Thanks! |
The following steps will reproduce the issue:
@page "/dynamic"
<h2>@test</h2>
@functions {
dynamic test = "this won't show";
} |
@kai-oswald it does work, but it seems you missed the compiler error Just add these to the blazor csproj to fix it: <PackageReference Include="System.Dynamic.Runtime" Version="4.3.0" />
<PackageReference Include="Microsoft.CSharp" Version="4.4.1" /> EDIT: But it seems i'm unable to read. You did add the Nuget... i needed to add both to make the compiler error go away, but after that, this just worked fine. |
After adding the two package (
Therefore I'll close this as a duplicate of aspnet/Blazor#365. |
@SteveSandersonMS Did you link to the correct bug? How is this related to the Windows Defender issue? |
I recently tried using blazor with the
dynamic
keyword. The compilation is succesful, but the page stays empty. Is support fordynamic
planned or am I missing something and there is a workaround to usedynamic
?The text was updated successfully, but these errors were encountered: