Visual Studio 设计视图包含黄色警告图标? [英] Visual Studio design view contains yellow warning icons?

查看:30
本文介绍了Visual Studio 设计视图包含黄色警告图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 中创建了一个 WPF 项目,其中包含一个 MainWindow.这个进口"通过 XAML 的其他用户控件.MainWindow 显示有警告图标和以下文本.不幸的是,我没有英文翻译,但它的意思是这样的:

I have created a WPF project in Visual Studio which contains a MainWindow. This "imports" other user controls via XAML. The MainWindow is shown with warning icons and the following text. Unfortunately I don't have the English translation but it means something like this:

本文档包含一个或多个已更改的控件.重新构建项目以在设计视图中显示更改.

This document contains one or more controls which have been changed. Rebuild the project to show the changes in the design view.

重建完整的解决方案无济于事.然而,这些警告没有任何作用.

Rebuilding the complete solution does not help. However these warnings do not have any effect.

我怎样才能摆脱这些警告?

How can I get rid of these warnings?

推荐答案

我尝试了 Asryaels 的解决方案如下:

I have tried Asryaels solution which is as follows:

  1. 清洁
  2. 重建
  3. 保存所有文档
  4. 关闭 Visual Studio
  5. 启动 Visual Studio
  6. 清洁
  7. 重建

这篇关于Visual Studio 设计视图包含黄色警告图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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