.NET 8 Core «неразрешенный символ» при работе с docker-composeC#

Место общения программистов C#
Anonymous
.NET 8 Core «неразрешенный символ» при работе с docker-compose

Сообщение Anonymous »


В моем приложении .NET 8 Core API при запуске

Код: Выделить всё

dotnet run
, everything is working. But Im using a docker-compose, and there come the problems.
When I run my app with

Код: Выделить всё

docker-compose up --build
, my IDE stops to resolve the NuGet packages installed in all the projects of my solution. And, important point : it builds well, I never meet build issues.
There is an example before/after running docker-compose:
Изображение
Изображение
I've tried lots of things to try to fix the issue :
  • Invalidate IDE cache
  • change from Rider to VS
  • Clone solution in another computer
But it has never fixed the issue. When I do

Код: Выделить всё

dotnet resolve
, it works, but only temporarily: after a new rebuilt, the error appears again.


Источник: https://stackoverflow.com/questions/781 ... er-compose

Вернуться в «C#»