-
Notifications
You must be signed in to change notification settings - Fork 724
Description
REGRESSION INFO: Repro on Aspire 8.0.0-preview.2.23619.3
INSTALL STEPS
- Clean machine: Win11 x64 23h2 ENU
- Install VS 17.10.0 Preview 1.0 [34530.244.main]
- Install 8.0.200 RTM SDK
- Install Aspire Preview 3 latest build 8.0.0-preview.3.24080.1
- Apply NuGet Feeds
REPRO STEPS
- On Aspire template version 8.0.0-preview.1.23557.2, Open VS, create a new project > ASP.NET Core Web App (Razor Pages) > .NET 8.0 > check 'Enlist in .NET Aspire orchestration' > Create. Or you can open existing aspire 8.0 P1 project.
- Update Aspire template version to latest 8.0.0-preview.3.24078.5
- Open the project you just created, build solution and will encounter this bug [WebToolsE2E][Aspire] Open an existing aspire 8.0 P1 project and build the solution, there is an error: The type or namespace name 'Projects' could not be found (are you missing a using directive or an assembly reference?). #1944
- Update 'Aspire.Hosting' version to 8.0.0-preview.3.24080.1
- Build solution and F5
ACTUAL
F5 will encounter an error.
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred. (C:\Users\v-reinawang.nuget\packages\microsoft.fluentui.aspnetcore.components\4.0.0-preview.2\staticwebassets)
Source=System.Private.CoreLib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Aspire.Hosting.DistributedApplication.Run()
at Program.
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
DirectoryNotFoundException: C:\Users\v-reinawang.nuget\packages\microsoft.fluentui.aspnetcore.components\4.0.0-preview.2\staticwebassets\
EXPECTED
The project can run successfully.
