Closed swmolen closed 2 years ago
Ran into this today. If anyone else hits this, just modify the docker-compose.vs.debug.yml
into:
version: '3.4'
services:
myproject.admin:
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /root/.nuget/packages --additionalProbingPath /root/.nuget/fallbackpackages "bin/Debug/net6.0/MyProject.Admin.dll" /seed'
myproject.admin.api:
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
myproject.sts.identity:
volumes:
- ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro
It just changes net5.0 into net6.0
Running the Template koruba.duende.isadmin breaks the container because the template writes out a docker-compose debug with .net 5.0 in it instead of .net 6.