I just have added a new project .NET Console Core.
1- Create a new Console Application(.NET Core)
2- Install-Package Microsoft.EntityFrameworkCore.SqlServer –Pre
3- Install-Package Microsoft.EntityFrameworkCore.Tools –Pre
When I build I get the following build Error:
The dependency Ix-Async 1.2.5 does not support framework .NETCoreApp
my project.json
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Microsoft.EntityFrameworkCore.SqlServer": "1.0.0-rc2-final",
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0-rc2-3002702"
}
},
"frameworks": {
"netcoreapp1.0": {
"imports": "dnxcore50"
}
}
}
Any Idea?
This is a known issue answered here.
Just add portable-net452+win81 in the imports section of frameworks in the packages.json like so.
"frameworks": {
"netstandard1.5": {
"imports": [
"dnxcore50",
"portable-net452+win81"
]
}
}
It worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With