如何删除警告“未声明‘配置’元素."视觉工作室 C# [英] How to remove warning 'The 'configuration' element is not declared.' Visual Studio C#

查看:22
本文介绍了如何删除警告“未声明‘配置’元素."视觉工作室 C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

(c#) 错误 'The 'configuration' element is not declaration.' 出现在我的程序中.它显示在第 2 行,即 using System.Collections.Generic;.程序编译正常,运行正常但是警告在那里,如果有问题,我想知道它是什么意思.如果我的代码有问题,请告诉我它会是什么(例如变量声明),我可以发布一些代码.但是我的程序大约有 200 行,所以我宁愿不在这里发布它.出现这个错误是因为我犯了一个错误吗?或者这是一个错误?还是很容易修复?

(c#) The error 'The 'configuration' element is not declared.' comes up on my program. It shows it on line 2, which is using System.Collections.Generic;. The program compiles fine, and runs fine But the warning is there, and if its a problem, I want to know what it means. If it is a problem with my code, tell me what it would be (eg. variable declaration), and I can post some code. But my program is ~200 lines, so I would rather not post it here. Is this error coming up because of an error I made? or is it a bug? or is it easily fixable?

推荐答案

SOLVEDVisual Studio 只需要重新启动.

SOLVED Visual Studio just needed to be restarted.

这篇关于如何删除警告“未声明‘配置’元素."视觉工作室 C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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