-
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
PMC Tools: Exception calling "Substring" #8163
Comments
This looks familiar. What version(s) of the EF packages are you using? It may already be fixed. |
I have the latest stable updates of every nuget package, so they should be: |
It's now February 2018, and this issue is live and kicking with VS2017 v15.5.6 and EntityFramework Core v2.0.1. |
@MikeInSwitzerland - This issue was fixed in EF Core 2.0 release. You may be seeing similar error message but it could be due to different bug. Please file a new issue with repro steps so that we can investigate. |
@smitpatel Thank you so much for taking the time to reply to my comment... but as I said, I had actually installed Core 2.0 today. What fixed my problem was to use VS2017's function to clear the GitHub cache. But these error messages are so useless, and give you no clue about what to do, or how to solve them... you don't know if it's going to take you an hour or a month to get around such problems... As a developer, used to the cosy, reliable world of regular ASP.Net, it scares me.... |
I'm working on an ASP NET MVC Core project (VS 2017, .NET Core 1.1).
I had the need of logging to the console the running environment of the application at startup and hence I configured the loggerFactory on the Startup's constructor and, immediately after, I log the required information:
Then, if I tried to use a command related to migrations (Add-Migration or Update-Database) I receive the following error:
![image](https://cloud.githubusercontent.com/assets/22510674/25025030/a3f30956-206e-11e7-94f9-7042b24d6206.png)
Furthermore, I noticed that if I don't include the ':' on the message, the command will run successfully:
![image](https://cloud.githubusercontent.com/assets/22510674/25025196/452757dc-206f-11e7-950c-a6440171f2e2.png)
Anyway, the output message is not the expected.
PS: I've superfitially checked by writing directly to the console (Console.WriteLine(...)) and it worked.
Steps to reproduce
This can be reproduced with the default project templates that come with VS 2017.
The text was updated successfully, but these errors were encountered: