dotnet build fails without sql server dependency (#3215)

* dotnet build fails without sql server dependency

this makes the docs work for me
This commit is contained in:
Kevin Burnett 2017-05-10 14:58:10 -04:00 committed by Misty Stanley-Jones
parent d0e12df054
commit 97582854b5
1 changed files with 16 additions and 0 deletions

View File

@ -145,6 +145,22 @@ configure this app to use our SQL Server database, and then create a
}
[...]
```
1. Go to `app.csproj`. You will find a line like:
```
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="1.1.2" />
```
The generated project uses sqlite by default. To use SQL Server, add this line to
`app.csproj`:
```
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.2" />
```
The Sqlite dependency was at version 1.1.2 at the time of this writing. Use the same
version for the SQL Server dependency.
1. Ready! You can now run the `docker-compose build` command.