Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

357
Visualizações
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

PS : This command works without docker support, but return this error when I add docker support

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

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 startup project (or use the -StartupProject parameter) when running the commands.

over 4 years ago · Santiago Trujillo Relatório

0

I tried many suggested solutions and none seemed to work except for this: https://stackoverflow.com/a/58592444/1819403

over 4 years ago · Santiago Trujillo Relatório

0

It would be interesting to know with which version of Entity Framework this error occurred. I had the same error with EF 6.3.0 and I am not using docker at all.

The solution for me was to go back to version 6.2.0 and create the migration with it.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda