将表单添加到空CLR项目时出错,该怎么办? [英] Error when adding form to an empty CLR project, what to do ?

查看:76
本文介绍了将表单添加到空CLR项目时出错,该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b $
我正在尝试制作我的第一个Windows窗体应用,关注此视频:

https:/ /www.youtube.com/watch?v=QCnyqMWPkQk



但是当我向空CLR项目添加表单时VS17已经抱怨了,给我这个错误信息:


这里应该是错误的图片,但我显然不允许发布图片或链接。:-(

所以书面链接必须足够:http://asger-p.dk/Vs17Error.png


将错误行翻译成英文,例如:


完成操作所需的数据尚不可用。(HRESULT异常:0x8000000A)



我绝对不知道该怎么做才能解决这个问题,因为这是我尝试VS的第一天, 

我有20年使用C ++ Builder的经验。



任何帮助表示敬意

提前致谢

最佳问候语$
Asger

解决方案

附加信息:

如果我改变VS17的主题,我可以使错误消失。

但是如果我开始一个新的CLR项目并添加一个表格,则会再次出现错误。


祝你好运b
Asger


Hi

I'm trying to make my first Windows form app, following this video:
https://www.youtube.com/watch?v=QCnyqMWPkQk

But VS17 complain already when I add a form to the empty CLR project, giving me this error message:

Here should be a picture of the error, but I'm apparently not allowed to post pictures or links yet.:-(
so a written link have to be enough:  http://asger-p.dk/Vs17Error.png

The error line translated to English, say something like:

The data needed to complete the action are not available yet.(Exception from HRESULT: 0x8000000A)

I have absolutely no clue what to do to fix this, as this is my first day trying VS, 
I do have 20 years experience using C++Builder though.

Any help appreciated
Thanks in advance
Best regards
Asger

解决方案

Additional information:
I can make the error go away if I change the theme of VS17.
but if I start a new CLR project and add a form the error comes again.

Best regards
Asger


这篇关于将表单添加到空CLR项目时出错,该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆