Nuget自己打包引用的时候出现错误:Package is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package 1.0.1 supports: net (.NETFramework,Version=v0.0)

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" ]}

 dnxcore50删除

 "frameworks": {
"netcoreapp1.0": { "imports": ["portable-net45+win8" ] }

具体原因未知

搜索

复制

搜索
复制

上一篇:npm run eject 命令后出现This git repository has untracked files or uncommitted changes错误


下一篇:Git操作----删除untracked files