EfCoreInAction icon indicating copy to clipboard operation
EfCoreInAction copied to clipboard

Chapter 2 - Compiling in VS 2019

Open limjordan74 opened this issue 4 years ago • 2 comments

Hi Jon,

I just started reading this book. Really appreciate the detailed explanations on EFCore. I've downloaded the entire source code for Chapter 2 but unable to compile in VS 2019, .NET Core 3.1. Do you have any guideline on how do we migrate the codes from VS 2017 to VS 2019? Thanks.

Regards,

Jordan Lim

limjordan74 avatar Feb 19 '21 04:02 limjordan74

Hi @limjordan74,

The repo was build for NET Core 2.0, but I have updated some of the branches to NetCore3, e.g. Chapter05-NetCore3 (have a look at the branches). Later branches contain the code / tests for the earlier chapters.

I am updating the book to EF Core 5 (sorry if you just bought the old book recently!), but that repo https://github.com/JonPSmith/EfCoreinAction-SecondEdition has code that runs on NET 5.0 / VS2019. Chapter 1 to 5 of the old book has code in the master branch of the repo - its changed, but not much.

JonPSmith avatar Feb 19 '21 08:02 JonPSmith

Hi Jon,

Thanks for the swift response. I'll take a look. Most important is I need to understand the overall concepts of EFCore, which you have done well in this book. Coding is still secondary to me at the time being.

Regards,

Jordan Lim

limjordan74 avatar Feb 20 '21 03:02 limjordan74