abpframework / eShopOnAbp

Reference microservice solution built with the ABP Framework and .NET, runs on Kubernetes with Helm configuration, includes API Gateways, Angular and ASP.NET Core MVC applications, PostgreSQL and MongoDB databases
https://www.eShopOnAbp.com/
MIT License
664 stars 259 forks source link

Visual Studio 2022 debug issue #177

Closed wbx58585888 closed 10 months ago

wbx58585888 commented 12 months ago

First I run docker to make environment .Its ok.

Then i config the properties image

Then i hitting the run button to debug image

Most errors are missing dlls .I check the dll files . Its exactly missing .I cant build the dll ,because the csproj debug has the same dlls missing errors. Pls help Best regards.

maliming commented 12 months ago

Try to build the solution by dotnet build /graphBuild first.

wbx58585888 commented 12 months ago

Try to build the solution by dotnet build /graphBuild first.

Its work.There is new error like connect db fail. image image

My docker is running . image

Pls help Best regards.

maliming commented 12 months ago

You have to migrator/seed the database.

https://github.com/abpframework/eShopOnAbp#how-to-run

gterdem commented 11 months ago

Visual Studio debugging using the docker containers is not supported out of the box. Visual Studio IDE hooks the containers for debugging.

We suggest running them using run-type.ps1.

If you want to debug any service, comment out the related service in the tye configuration and debug using the IDE.