-
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
CLI throws: Unable to retrieve project metadata. #9127
Comments
More data for you:
|
Couldn't help myself and did some more experimentation. Checking project.assets.json, i noticed that I didn't always have the version of EFCore packages that I thought I was getting when fiddling with preview3 version numbers in csproj. This may have been the difference between poiting to aspnet-dev and aspnet-dev-cli. So setting the packagereferences all to rtm-* makes no difference. It's the Tools package that seems to be creating the problem. Anything higher than preview3-* causes the problem. I started explicitly with the first version of the rtm packages: 2.0.0-rtm-26151 and it's failing there. |
Investigating this. I hit the issue with rtm-16182. |
#8963 (Remove GetTempFileName) may have regressed this. |
It is indeed culprit. I checked out packages before that commit went in (from aspnetci since the myget feed does not have packages). |
Bummer. Let's revert it. |
Fixed via #9131 |
What was the actual cause of this? That is, why did changing the temp file break? |
@smitpatel @bricelam I think it's clear that the change caused the regression, but I don't know why. 🐑 Can one of you explain to us mere managers. 😉 |
Perhaps...
|
This just popped up when I migrated a project on preview2-final to rtm-26180.
dotnet --info
dotnet ef runs, but dotnet ef migrations/dbcontext/database all throw this error:
I do not have any custom msbuild values that I know of.
I removed bin & obj folders, restored & rebuilt but still get this error.
I am also able to reproduce it on this solution: https://github.com/julielerman/OwnedEntityStoreToDbProblem
The text was updated successfully, but these errors were encountered: