- If I update my project.json includes a comment, like this:
// required for EF
"buildOptions": {
"emitEntryPoint": true
},
- Then I run this:
Scaffold-DbContext {ConnectionString} Microsoft.EntityFrameworkCore.SqlServer
- I get the error:
Invalid JSON file in C:\Users...\project.json
- It works correctly if I change step 1 to look like this:
"buildOptions": {
"emitEntryPoint": true
},