更改多个控件的锚点时出现 Visual C# 错误
当我尝试同时更改多个控件的锚点时,Visual C# 2008 给出错误。单独完成时不会出现此错误。
属性值无效。
找不到文件 'C:\Users\用户\Documents\Visual 工作室 2008\Projects\test\test\Resources\WelcomeBorder.png'。
该图像以前用作面板的背景图像(不是选定的元素之一,尽管它们位于其中),但对该图像的所有引用均已删除。在整个解决方案中搜索字符串“WelcomeBorder”没有返回任何结果。此后该解决方案已被多次重建。
该文件已被删除。
Visual C# 2008 is giving an error when I attempt to change the anchor for multiple controls simultaneously. This error does not occur when done individually.
Property value is not valid.
Could not find file
'C:\Users\user\Documents\Visual
Studio
2008\Projects\test\test\Resources\WelcomeBorder.png'.
The image was previously used as a background image for a panel (not one of the elements selected, though they're in it), but all references to the image have been deleted. A search through the entire solution for the string "WelcomeBorder" returned no finds. The solution has been repeatedly rebuilt since.
The file has been deleted.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我从资源目录中手动删除图像时,我遇到了同样的错误。我必须将图像放回到它所抱怨的目录中,然后右键单击 Reesources.resx 以正确的方式删除它们。
I encountered this same error when I manually deleted an image from the Resources directory. I had to put back the images back in the directory that it was complaining about and then right click Reesources.resx to delete them the proper way.
检查 Resources.resx 中是否仍然存在文件引用
Check if the file reference still exists in Resources.resx