asp.net core preview 8 update issues
See original GitHub issueThe updates that affect bolero as below:
- Update Microsoft.AspNetCore.* package references to 3.0.0-preview8.19405.7.
- In Razor components rename OnInit to OnInitialized and OnInitAsync to OnInitializedAsync.
- Rename ElementRef to ElementReference.
- Update calls to ComponentBase.Invoke to call ComponentBase.InvokeAsync.
The full list is here: https://devblogs.microsoft.com/aspnet/asp-net-core-and-blazor-updates-in-net-core-3-0-preview-8/
I tried above changes but the template provider fails with Errors like:
C:\Users\Onur.Gumus\source\repos\Bolero2\tests\Client\Main.fs(132,25): error FS0041: No overloads match for method 'Kind'. The available overloads are shown below.
3>C:\Users\Onur.Gumus\source\repos\Bolero2\tests\Client\Main.fs(143,25): error FS0001: This expression was expected to have type 'Bolero.Node (Bolero, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null)' but here has type 'Bolero.Node (Bolero.Templating.Provider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)'
6>C:\Users\Onur.Gumus\source\repos\Bolero2\tests\Unit.Client\Html.fs(166,9): error FS0001: All elements of a list must be of the same type as the first element, which here is 'Bolero.Node (Bolero, Version=0.7.0.0, Culture=neutral, PublicKeyToken=null)'. This element has type 'Bolero.Node (Bolero.Templating.Provider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null)'.
3>C:\Users\Onur.Gumus\source\repo
And I got stuck here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
ASP.NET Core updates in .NET 8 Preview 6
NET 8 Preview 6 is now available and includes many great new improvements to ASP.NET Core. Here's a summary of what's new in...
Read more >ASP.NET Core in .NET 8 Preview 6: Blazor Updates and More
NET 8 Preview 6 brings significant additions and changes to ASP.NET Core. The most notable enhancements for this release of ASP.NET Core are ......
Read more >What's new in .NET 8 Preview 1 · Issue #8133 · dotnet/core
NET 8 Preview 1 This issue is for teams to highlight work for the community that will release in .NET 8 Preview 1...
Read more >ASP.NET Core .NET 8 Preview 5 New Features and Updates
With the release of ASP.NET Core Preview 5, we now have a powerful new feature that allows us to enable interactivity for individual...
Read more >Is ASP.NET on the right path? Microsoft .NET 8 preview ...
NET web application framework – prompting a discussion about whether ASP.NET Core is heading down the right path. “I am so disappointed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why could this happen?
@xperiandri This is because Bolero.HotReload itself needs to be updated to preview8, as some APIs it relies on have been changed. I’m working on it 🙂