I'm trying to build a docker image for my NETCORE application, but when I run "Build Docker image" menu from Visual Studio, it throw an error:
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount861662899/dockerfile: no such file or directory 5>C:\Users\xxxx.nuget\packages\microsoft.visualstudio.azure.containers.tools.targets\1.9.10\build\Container.targets(198,5): error CTC1001: Volume sharing is not enabled. On the Settings screen in Docker Desktop, click Shared Drives, and select the drive(s) containing your project files.
When I try to enable volume sharing, I'm unable to find that option on my Docker settings. All docs says it should be under "Resources" option.
I'm using WSL2 integration, but don't know if it have something to do with the issue.

