microsoft / fluentui-blazor

Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
https://www.fluentui-blazor.net
MIT License
3.87k stars 376 forks source link

fix: Can't build the code in Visual Studio Preview VisualStudio.17.Preview/17.10.0-pre.1.0+34607.79 #1532

Closed neosign closed 9 months ago

neosign commented 9 months ago

🐛 Bug Report

1708245301129

Scenario 1

  1. I just created new project using Fluent Blazor Web App template using Visual Studio Community 2022 Preview
  2. Then tried to build the code error as above Scenario 2
  3. Create project by using command dotnet new fluentblazor --name MyApplication
  4. Open with Visual Studio Community 2022 Preview and then tried to build the code error as above

🤔 Expected Behavior

It should be built successfully on the fresh Project on command on vs template

💁 Possible Solution

🔦 Context

Just wanted to try to find boilerplates for blazor web project. found fluent blazor interesting. FYI. not experts in any C#,( I am from Springboot realm)

🌍 Your Environment

OS Windows 10 Visual Studio community 2022 Preview Dotnet v.8.0.200

1708245367619 17082453264891708245791486

dvoituron commented 9 months ago

This error has already been detected (#1486) and will be corrected in the next version.

To correct it, it's very simple: just follow the instructions given by the compiler: Remove the second double-quote added by mistake in the Weather.razor page (Items` attribute).

                                                  ⬇️
<FluentDataGrid Id="weathergrid" Items="@forecasts"" GridTemplateColumns="1fr 1fr 1fr 2fr" TGridItem="WeatherForecast">
neosign commented 9 months ago

thanks @dvoituron