-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WebToolsE2E][Aspire] Update existing aspire 8.0 P1 project to 8.0 P3, F5 will encounter an error: "Inner Exception 1: DirectoryNotFoundException". #2012
Comments
@v-reinawang can you put the entire stack trace in the issue? (make sure you click "Show External code") |
@davidfowl This is the entire stack trace. info: Aspire.Hosting.DistributedApplication[0] |
Thanks, this is the same as #1923, but reproduced via an upgrade. |
Does the error go away when you do a clean rebuild? |
Rebuild solution and F5, this issue also repro. |
delete, obj and bin, and rebuild, it should run. |
The ones inside of the WebApplication1.AppHost |
- We're exposing a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). Fixes #2012
There is no obj and bin file in WebApplication1.AppHost. |
When you build the solution or run that project, it produces a binary in the bin folder, you should have both a bin and obj for each project. |
After I deleted the obj and bin folders under WebApplication1.AppHost, rebuild and F5 can be successful. |
- We're exposing a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). Fixes #2012
…a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). Fixes #2012
…a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). (#2015) Fixes #2012 Co-authored-by: David Fowler <[email protected]>
Verify that this issue has been fixed in 8.0.0-preview.3.24081.5 |
- We're exposing a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). Fixes dotnet#2012
- We're exposing a simple gRPC endpoint for the dashboard to talk to. We can avoid loading static assets completely (which causes all kinds of problems when things get out of sync). Fixes dotnet#2012
REGRESSION INFO: Repro on Aspire 8.0.0-preview.2.23619.3
INSTALL STEPS
REPRO STEPS
ACTUAL
$(String[] args) in D:\Users\v-reinawang\Desktop\WebApplication1\WebApplication1.AppHost\Program.cs:line 5F5 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.
The text was updated successfully, but these errors were encountered: