EdCharbeneau/BlazorSize

.NET 6 Preview 7

Closed this issue · 4 comments

Hi Ed,

I'm trying to test a Blazor project that works fine on .NET 5 using VS2022 Preview 3 and .NET Preview 7 and get the errors below that reference BlazorPro.BlazorSise as soon as I change the target framework from .NET 5 to .NET 6 in the project dialogue.

I'm very new to Blazor and ASP/.NET so am not sure whether this is an issue with BlazorPro or my configuration or a VS2022 issue. Can you help?

Thanks, Peter

image

Hey Peter,

I just uploaded a preview version of BlazorSize for .NET 6.

https://www.nuget.org/packages/BlazorPro.BlazorSize/6.0.0-pre

Please give it a moment to publish, it should be available shortly.

Hi Ed,

Many thanks for updating BlazorPro. I can see the new package, dated today, but when I upgrade to it, there appears to be no content and there is no twistie next to the package name in the VS2022 package list. If I revert back to 5.0.0 the twisty reappears showing the contents of the package.

I had a look in the BlazorPro 6.0.0-pre package cache and it contains a 30kb BlazorPro DLL so I'm not sure why this is happening.

I also tried removing the package reference and re-adding it, but this also didn't work.

Any thoughts?

Best wishes, Peter

Hi Ed,

Sorry, my bad, I didn't re-target the project to use .NET 6 before trying to compile it with the BlazorPro 6. Once I did this, the project compiled OK, however, I still have no twistie next to the BlazorPro package.

Best wishes, Peter

Hi Ed, I'm a Telerik customer but use this package over MediaQuery as your package exposes browser width/height properties which I need. Great work! Please keep this going.