Why are the “Paste JSON As Classes” and “Paste XML As Classes” commands disabled (grayed out) in Visual Studio? [closed]

末鹿安然 提交于 2019-12-06 09:28:18
rory.ap

I finally came across this lone article that gave me the solution:

http://www.selcuksasoglu.com/2014/06/18/creating-classes-with-xml-files-using-net-4-5/

In it, it says

If you fail to copy the xml file to your clipboard, you may notice that “Paste XML as Classes” is disabled.

Wow, that was easy. Wouldn't it have been great if Microsoft thought to include a little tool tip with those grayed out commands?

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