-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ef migrations script - Unrecognized option -o error #26813
Comments
/cc @bricelam |
This looks similar to the parsing bugs (like #24251) that we saw in some of the previews. Are you sure it's using the latest versions of the .NET SDK and dotnet-ef? |
Yes, I am sure. .NET SDK 6.0.100 and ef migration tool is 6.0.0. if you check "dotnet exec" command parameters you can see the versions. |
I'm not able to repro this locally. @gokhancelik is it still an issue for you? If so, can you share a minimal yaml file that produces the error? |
EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it. BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions. |
Ask a question
I am trying to generate SQL migration script with ef migrations tool in Azure DevOps Linux agent.
The same script works on my local Ubuntu machine and Windows machine.
Firstly I had a different problem. I was getting the below error message when I run the script without the export part.
Script
I have fixed this problem by using the export path. But now I am getting a different error. "Unrecognized option '-o /data/agents/agent-1/_work/26/a/migration.sql -i'".
Script
Output
How can I solve this problem?
EF Core version: 6.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 6.0
Operating system: Linux (Azure Devops Agent)
IDE: None
The text was updated successfully, but these errors were encountered: