You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will output Hello! but also the following warning:
warning CS1701: Assuming assembly reference 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' used by 'Microsoft.DotNet.Interactive' matches identity 'Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' of 'Microsoft.AspNetCore.Html.Abstractions', you may need to supply runtime policy
The text was updated successfully, but these errors were encountered:
I have updated now to the latest .NET SDK and dotnet-interactive packages, but still the same issue.
It seems there are multiple issues:
First of all there is an older version of a library referenced/included where a newer one exists in the .NET SDK. I created an issue at the dotnet-interactive repo: dotnet/interactive#1939
Also, this compiler warning is obsolete and should be removed.
And there is at the moment also no possibility to globally suppress warnings: dotnet/interactive#762
Sorry, at the moment I also don't have a workaround.
In the csharp / Docs / HTML notebook, the cell:
display(HTML("<b style=\"color:blue\">Hello!</b>"));
Will output Hello! but also the following warning:
warning CS1701: Assuming assembly reference 'Microsoft.AspNetCore.Html.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' used by 'Microsoft.DotNet.Interactive' matches identity 'Microsoft.AspNetCore.Html.Abstractions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' of 'Microsoft.AspNetCore.Html.Abstractions', you may need to supply runtime policy
The text was updated successfully, but these errors were encountered: