Unable to use System.Net.Utilities with DNX 4.5.1

旧时模样 提交于 2019-12-04 15:54:42

The solution was to remove the following line from project.json file:

"dnx451": {},

And run the following commands in order from Terminal.app:

dnvm upgrade -r coreclr
dnu restore
dnu build

And finally I replaced some of my code to use Ping().SendPingAsync().

This fixed the build issue. However, I still have issues with pinging IP addresses... I will post a new thread about it shortly.

Many thanks.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!