Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4046

Unable to Debug .NET Blazor MAUI on host Windows machine "This project needs to be deployed before we can debug"

$
0
0

OS Name: Microsoft Windows 10 Pro

OS Version: 10.0.19044 N/A Build 19044

Microsoft Visual Studio Community 2022 (64-bit) - CurrentVersion 17.8.0

It works ok when debugging on my connected android device, butgetting this error when trying to debug on windows:enter image description here

DEP1000: Cannot copy file "C:\Users\USER\.nuget\packages\microsoft.fluentui.aspnetcore.components\4.0.0\staticwebassets\Components\HorizontalScroll\FluentHorizontalScroll.razor.js" to layout "C:\Users\USER\Documents\Repositories\attendance-roll-app\AttendanceRollApp\AttendanceRollApp\bin\Debug\net8.0-windows10.0.19041.0\win10-x64\AppX\wwwroot\_content\Microsoft.FluentUI.AspNetCore.Components\Components\HorizontalScroll\FluentHorizontalScroll.razor.js". DirectoryNotFoundException - Could not find a part of the path 'C:\Users\USER\Documents\Repositories\attendance-roll-app\AttendanceRollApp\AttendanceRollApp\bin\Debug\net8.0-windows10.0.19041.0\win10-x64\AppX\wwwroot\_content\Microsoft.FluentUI.AspNetCore.Components\Components\HorizontalScroll\FluentHorizontalScroll.razor.js'.

This is my project structure. I'm using a Razor library project to try to reuse the UI later.enter image description here


Viewing all articles
Browse latest Browse all 4046

Trending Articles