After adding aspire project, Failing to deploy sql database project due to MSBuild Exception #7638
Unanswered
Abdul23061989
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In dotnet solution, we have sql project and api project
I have added dotnet aspire project and want to orchestrate the containers
Issue : failing to deploy sql project due to MSBuild Exception
these are lines of Program.cs in Apphost project
var builder = DistributedApplication.CreateBuilder(args);
//Non-working lines
//Working lines
//api referenced to sqlServer either 1 or 2
var apiService = builder.AddProject<Projects.O_WP_PIT_ACT_API>("apiservice").WithReference(sqlServer);
builder.Build().Run();
this is folder structure of solution
this is the dashboard after running program.cs
this is the consolde logs
Beta Was this translation helpful? Give feedback.
All reactions