-
Notifications
You must be signed in to change notification settings - Fork 419
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
Adding a project by path does not work in Visual Studio #1486
Comments
What do the logs say for the dapr side car in the dashboard? |
The dapr side logs indicate that it does not find the remote application. The problem does not come from dapr because when I do without the problem persists. |
@bastiennoel93 - when using the new AddProject() syntax from Preview 2, I seem to be hitting very similar when running from Visual Studio, but it works fine from the dotnet run command line. Are you seeing the same with your testing? @davidfowl - is there something different between VS and dotnet command line environments that will help reproduce? |
@rem-coding Yes, when i use the dotnet run command line, it works fine. 👍 |
Can you provide a sample that reproduces the problem? |
Hi @davidfowl , it can be reproduced with the aspire-starter template as follows:
Fails to run from Visual Studio, works fine running from command line dotnet run. The 2 changes to the Solution in below screenshot: |
@BillHiebert. Looks like this is something on the VS side since it works on the command line. |
@vijayrkn looks like this is an issue in the VS support for Aspire. |
Hi - just to let you know that in the meantime, if I do a |
@jonathanpickard3sq thanks for the update. We've identified the root cause in the VS support for launching Aspire AppHost projects and are investigating. |
We're looking into what our options would be here. In the meantime, another workaround that you could potentially use here is to create another VS solution that includes all of the projects you're interested in using together with Aspire. The overload with the path to the project should work fine as long as the project is loaded in VS. |
@vijayrkn @BillHiebert This one is pretty important to find a solution for. |
from @vijayrkn this is now done. |
TBH this isn't fully fixed, you can track #2154 for a follow up. There's work remaining in the app host #2154 (comment). |
Hi,
An error occurs when I run aspire in multi repositories.
Here is my test case:
The error loops indefinitely in the console.
I receive a 500 error with no details.
On the dashboard, I see that the project is starting up:
Have you ever had this problem?
Thanks.
The text was updated successfully, but these errors were encountered: