Repository navigation
run session could not be started #1671
Answered
by
DamianEdwards
Paulo Morgado (paulomorgado)
asked this question in
Q&A
|
I'm trying to run a project with a project path: var builder = DistributedApplication.CreateBuilder(args);
var idp = builder.AddProject(name: "visionbox.connext.identity", @"..\..\XXX\XXX.csproj");
var host = builder.Build();
host.Run();and Im getting these errors: The same project runs as project reference in another Aspire host. What am I missing here? |
Answered by
DamianEdwards
Jan 18, 2024
Replies: 5 comments 2 replies
|
And now it works. Go figure. |
0 replies
|
It works with path, only if there's also a project reference. |
0 replies
Answer selected by
paulomorgado
|
I had the same issue with Visual Studio 2022 Version 17.14.0. I updated to 17.14.3 and it fixed it... |
0 replies
|
I am running Visual Studio 2026 Professional Insiders [12224.323] and having this problem. AddProject() by csproj path does not work when I hit F5. But it does run if I do "dotnet run .\AspireProject.csproj". |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Known issue #1486