This article is a mirror article of machine translation, please click here to jump to the original article.

View: 18450|Reply: 0

[.NET Core] Add-Migration: Cannot bind a parameter to the parameter "Path" because the parameter is:

[Copy link]
Posted on 6/20/2019 5:51:22 PM | | |
PM> Add-Migration InitialCreate
Unable to resolve startup project ''.
Add-Migration: Cannot bind a parameter to the parameter "Path" because the parameter is null.
Location Line: 1 Characters: 1
+ Add-Migration InitialCreate
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Add-Migration],ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Add-Migration

PM>



Reason: Special characters in the project path

Solution: Modify the project path to remove special characters






Previous:Alibaba Cloud load balancing SLB's HTTP redirect to HTTPS pit
Next:Unable to create an object of type 'xxContext'. Add an implementation of
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com