Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify the ProjectName #73

Open
ricardosobrado opened this issue Dec 31, 2020 · 1 comment
Open

Specify the ProjectName #73

ricardosobrado opened this issue Dec 31, 2020 · 1 comment

Comments

@ricardosobrado
Copy link

Hi!
I have 2 Projects in my solution, a .netCore 3.1 Project that refers to my API and another Project in .net Framework 4.8 that contains the EF6 migrations.
When I execute "dotnet ef6 database update" in console I'm getting the error:
"Specify which project file to use because this 'C:\Jenkins***' contains more than one project file"
I tried to add the parameter "-ProjectName" existent in "update-database" but it doesn't work!
There's any way to solve this problem?

Thank you!

@mrahhal
Copy link
Owner

mrahhal commented Dec 31, 2020

Hi. I don't recognize this error. Does the sample in this repo work if you try dotnet ef6 in it? Does the tool work for you in other projects?

I haven't been able to maintain this library lately, and I haven't tried it on net 4.8, so to be honest the problem could be anything. But I feel it's a scenario you have that it doesn't support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants