add-migration : Cannot bind argument to parameter 'Path' because it is an empty string

I’m running default api core project on Visual studio 2017 with docker support and
I got this error everytime I run the command add-migration -name name

add-migration : Cannot bind argument to parameter ‘Path’ because it is an empty string.
At line:1 char:1
+ add-migration
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Add-Migration], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Add-Migration

  • Docker compose. Networks. Spring Boot and MySQL connection
  • how to create docker image from an ISO file?
  • Docker volume content does not persist
  • Container watches etcd leader vs container watches etcd cluster
  • How can I setup monitoring of Docker Container from Nagios
  • Cannot start container: [8] System error: exec format error
  • PS : This command works without docker support, but return this error when I add docker support

  • Installing CPhalcon on an AWS Docker image
  • In Dockerfile how to copy file from network drive
  • Docker different digest when push same images with different tags
  • nginx+php-fpm docker-compose not work
  • How to clone and customise laravel homestead and install more things in it?
  • Exclude folders in .dockerignore
  • One Solution collect form web for “add-migration : Cannot bind argument to parameter 'Path' because it is an empty string”

    It looks like you’re hitting issue #7540. For now, put your project on a “physical” drive instead of a network file share. (Scratch that. You’re using the PMC commands.)

    You’re probably hitting issue #7439. Make sure your app is selected as the starup project (or use the -StartupProject parameter) when running the commands.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.