[英]I get an error when compiling with an imported image resource
This is turning into a nightmare! 这变成了一场噩梦!
I have a C# DLL project and it has the regular About Form. 我有一个C#DLL项目,它有常规的About Form。 I go to add my own image:
我去添加我自己的图像:
I can see it listed and I accept: 我可以看到它列出,我接受:
It looks fine: 看起来很好:
The moment I compile I get this error: 我编译的那一刻我得到这个错误:
I have googled the error: 我用Google搜索了错误:
The argument docData must implement the interface IVsTextStream
参数docData必须实现接口IVsTextStream
And it suggests deleting the RES file. 它建议删除RES文件。
I am confused. 我很困惑。 I thought this would be a simple exercise and despite several attempts and can't use my own image.
我认为这将是一个简单的练习,尽管有几次尝试,但不能使用我自己的图像。
Well, I do not know why the problem was happening. 好吧,我不知道为什么会出现这个问题。 But here is my workaround:
但这是我的解决方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.