Adding the .NET Aspire orchestration code failed. Failed to insert code for project X. Can't find a call to method(s) Build on type Microsoft.AspNetCore.Builder.WebApplicationBuilder in the program main #4474
Replies: 4 comments 3 replies
-
@antonfirsov @vijayrkn Seems like the tooling failed for this pattern? |
Beta Was this translation helpful? Give feedback.
-
What I see if I do so
it works but it breaks on
I assume this was my issue, but do you have plans to support this? |
Beta Was this translation helpful? Give feedback.
-
So, if I understand correctly, the |
Beta Was this translation helpful? Give feedback.
-
Yes, it has to be the minimal program.cs pattern. However, the configuration can be done in a method that is called from program.cs and we should find it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have
in program.cs. What do you require here?
Beta Was this translation helpful? Give feedback.
All reactions