I have trying to execute a newly asp net core project from inside visual studio 2017, but always get this error:
Build path either does not exists, is not accesible, or is not a valid URL
Any idea what the problem is?
The Visual Studio Code Dev Containers extension lets you use a Docker container as a full-featured development environment. It allows you to open any folder inside (or mounted into) a container and take advantage of Visual Studio Code's full feature set.
Open the project in Visual Studio, and choose one of the following options: Select Docker Support from the Project menu. Right-click the project in Solution Explorer and select Add > Docker Support.
In my particular case, I was working with Docker for Windows from Edge channel. So I just uninstalled it and installed the latest release from Stable channel https://docs.docker.com/docker-for-windows/install/#download-docker-for-windows. It worked out and the problem went away.
I was using Docker for Windows Server 2016 (Edge channel) and got this issue as well. However I was unable to switch to anything. After finding issue on github here: https://github.com/docker/compose/issues/4710 It was apparently a bug in relative paths.
One of the developers released a new binary for docker-compose.exe(see previous link) for which you can replace manually in your local docker installation. After that it worked for me again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With