- Visual studio 2017 Enterprise Build 26228.10
- SQL server Express LocalDb
- Windows 7 x64
- dotnet Core 1.1
- Getting started
- Create, Read, Update, and Delete operations
- Sorting, filtering, paging, and grouping
- Migrations
- Creating a Complex data model
- Reading related data
-
Use VS2017 create a default dotnet Core Web App with template: ASP.NET Core Web Application(.NET Core)
-
When I click Ctrl+F5 to start it, and it has error (PS: this error happened on Win10 x64)
-
Tries
- I created another new web Appplication, and it failed.
- I repair Visual Studio 2017 about 3 times, it is success.
- PS: I search from Bing/Google, but I cann't find the solution's Web.config position, in other words, i am green hand with core
- Configure the university.csproj. Add the following item
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" />
- The purpose is to use dotnet ef Tools
- The alternative way is use Package Manager Console, I'm not try it yet.