更改多个控件的锚点时出现 Visual C# 错误

发布于 2024-08-02 23:03:52 字数 340 浏览 1 评论 0原文

当我尝试同时更改多个控件的锚点时,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

满栀 2024-08-09 23:03:52

当我从资源目录中手动删除图像时,我遇到了同样的错误。我必须将图像放回到它所抱怨的目录中,然后右键单击 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.

樱花细雨 2024-08-09 23:03:52

检查 Resources.resx 中是否仍然存在文件引用

Check if the file reference still exists in Resources.resx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文