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.66k stars 350 forks source link

fix(Microsoft.FluentUI.AspNetCore.Components): missing LEGAL.txt #1927

Closed barbarossa426 closed 4 months ago

barbarossa426 commented 4 months ago

🐛 Bug Report

When trying to debug an error is displayed: image Configuration Manager is correct: image

💻 Repro or Code Sample

🤔 Expected Behavior

An awesome application boilerplate

😯 Current Behavior

Error message: image

The file is indeed in: .nuget\packages\microsoft.fluentui.aspnetcore.components\4.7.1\staticwebassets image

But is missing inside; MyApp\bin\Debug\net8.0-windows10.0.19041.0\win10-x64\AppX\wwwroot_content\Microsoft.FluentUI.AspNetCore.Components image

🌍 Your Environment

Windows 11 Visual studio 2022 Version 17.10.0 Preview 3.0

vnbaaij commented 4 months ago

The issue you are tunning into is, believe it or not, that that path to the file is too long. See also https://github.com/dotnet/maui/issues/17828.

I don't believe there is anything we can do about that on our side. For you, I think the only solution would be to shorthen the path that is mentioned after the layout in the error description.

For what it is worth, I just created a new app call MauiApp1 in my D:\Temp folder and that is working as expected (although you are not getting an awesome application boilerplate but just the boring Bootstrap stuff 😉)

barbarossa426 commented 4 months ago

Interesting, I store all my solutions at "c:\develop\private\MyProject". While I do have a folder structure within my solution, it's not overly complex.

vnbaaij commented 4 months ago

Well, you have "\Family.SkillBuilder\Family.Skillbuilder.Kids\Skillbuilder.Kids.App\" as the 'root' path and then w have our assembly name which is also not the shortest so combined it goes just over the 260 max chars limit (I think total is 261 here to be precise)

barbarossa426 commented 4 months ago

Confirmed. Moving the project to the c: resolved the issue. Thanks, @vnbaaij , for the quick response. Please close this ticket.