You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really glad that Preview 2 of Aspire added the AddProject overload so we can reference a .NET project by providing an arbitrary project path. However, I feel like Aspire currently assumes that this project is part of (and referenced by) the app host solution, which would result in the project being built before being orchestrated by Aspire. If my project is not part of the app host solution and it has not been compiled yet, Aspire will fail to run it as it uses --no-build when preparing the projects.
In my opinion, this process somewhat defeats the purpose of using AddProject with a custom path because if my project is already part of my solution, I would simply use AddProject<> with the generated service metadata.
Is there any plan to consider building the .NET project prior to running it when using AddProject with a custom path? I believe this overload would be beneficial for scenarios where developers deal with multiple solutions in a monorepo (or even multiple repos).
MarcelJenner, gregory-prelat-alz, ianrathbone, johanbenschop and forgottenski