Cannot even restore
montella1507 opened this issue · 2 comments
While trying to restore packages:
Error NU1605 Detected package downgrade: Microsoft.EntityFrameworkCore from 2.1.1 to 2.1.0. Reference the package directly from the project to select a different version.
Asp2017 -> Microsoft.AspNetCore.All 2.1.1 -> Microsoft.EntityFrameworkCore (>= 2.1.1)
Asp2017 -> Microsoft.EntityFrameworkCore (>= 2.1.0) Asp2017
Fix in .csproj:
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.1" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.1" />
Upgrading to 2.1.1 fixed this? I can make sure that's in the latest master branch.
Updated master but let me know if there's something else needed here! 👍
Thanks for finding this one
@MarkPieszak Wait, did u rly react in 2 mins? WOW :-) you are my new Angular-team hero :-)
- it fixed problem with EF
- Problem in documentation - dotnet restore is not enough - you have to specify Asp2017.sln because multiple .csproj/.sln files in folder (i suggest different project structure) - do you accept MRs?
- Still problem with npm build.. (both after "VS npm install" or manual yarn install)
TypeError: Cannot read property 'properties' of undefined
at module.exports (XXXXYYYYY\node_modules\webpack-cli\bin\config-yargs.js:89:48)
propably wrong version of CLI in devDependencies. Will try another version.