Nuget自己打包引用的时候出现错误:Package is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package 1.0.1 supports: net (.NETFramework,Version=v0.0)
解决方法:
project.json中将
"frameworks": {
"netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ]}
"netcoreapp1.0": {
"imports": [ "dnxcore50", "portable-net45+win8" ]}
dnxcore50删除
"frameworks": {
"netcoreapp1.0": {
"imports": ["portable-net45+win8" ]
}
"netcoreapp1.0": {
"imports": ["portable-net45+win8" ]
}
具体原因未知
搜索 复制本文转自94cool博客园博客,原文链接:http://www.cnblogs.com/94cool/p/5740291.html,如需转载请自行联系原作者