我无法使用任何数据集打开数据集设计器:对象引用未设置为对象的实例 [英] I can´t open dataset designer with any dataset: object reference not set to an instance of an object
问题描述
自上次视觉工作室2017更新以来,我无法使用任何数据集打开数据集设计器视图。如果我试着"打开" "共同编辑工厂"如果我将其更改为"数据集编辑器",则设置为默认值我得到错误
"对象引用未设置为对象的实例"再次。
Hi, since the last visual studio 2017 update i can't open the dataset designer view with any of my datasets. If I try "open with" the "Common Editor Factory" is set as default, if I change it to "Dataset editor" i get the error "object reference not set to an instance of an object" again.
如果没有这个,我就无法继续发展。有什么帮助吗?有一种方法可以降级到VisualStudio 2015吗?
I can't continue developing without this. Any help please? There is a way to downgrade to VisualStudio 2015?
谢谢
推荐答案
嗨Anibol,
Hi Anibol,
不幸的是,我也不能在我身边重复这一点。
Unfortunately, I could nor repro this in my side.
我做的是添加 - >新商品 - >数据 - >数据集,
what I did is add -> new item -> data ->dataset,
右键点击 解决方案资源管理器中的数据集 - > 打开:
Right click Dataset in solution explorer -> open with :
如果我用"通用编辑器工厂"打开它,它就无法打开,但我改变了到"数据集编辑器"然后我可以毫无问题地打开它。
if I open it with "Common editor factory", it could not be open, but i changed to "Dataset Editor" then I could open it with no problem.
>>有一种方法可以降级到VisualStudio 2015吗?
VS2015和VS2017可以在同一台机器上共存,如果你真的需要安装VS2015,你可以去页面:
VS2015 and VS2017 could co-exist in same machine, if you really need install VS2015 you could go to the page:
https://www.visualstudio.com/vs/older-downloads/
然后您可以选择要下载的旧版本。
then you could select the older versions to download.
祝你好运,
Fletcher
这篇关于我无法使用任何数据集打开数据集设计器:对象引用未设置为对象的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!