VS解决方案资源管理器分析器惊叹号:ef1000“可能的SQL注入漏洞" [英] VS Solution Explorer Analyzers exclamation: ef1000 "possible sql injection vulnerability"

本文介绍了VS解决方案资源管理器分析器惊叹号:ef1000“可能的SQL注入漏洞"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

解决方案资源管理器中的奇怪消息.

Strange message in Solution Explorer.

ef1000可能的SQL注入漏洞"

ef1000 "possible sql injection vulnerability"

它不会阻止编译,没有错误,没有警告,也没有错误列表中的消息.

It doesn't prevent compile, no errors, no warnings, no messages in "Errors List".

编译时输出中没有类似消息... 单击不会将焦点移到漏洞"行.没有参考的文件/行相关信息.

No similar messages in the output on compile... Click doesn't move focus to "vulnerability" line. No referenced file/line related information.

但是存在带有删除"按钮的上下文菜单,该菜单不起作用(什么也没有发生). proj文件中没有与Analyzers相关的条目.

But there is context menu with "Delete" button which doesn't work (nothing happens). There are no Analyzers related entries in proj file.

看起来像常见的程序包引用错误.如何解决?

Looks like common package references bug. How to fix it?

推荐答案

我去了该位置C:\ Users \ User.nuget .. etc,然后删除了程序包.我关闭了Visual Studio,然后重新打开了它.软件包已还原,错误消失了.我同时在Visual Studio中使用.net框架应用程序,并且反复打开和关闭核心解决方案,因此我认为程序包某种程度上已损坏.

I went to that location C:\Users\User.nuget .. etc and deleted the package. I closed visual studio and reopened it. The package was restored and the error was gone. I was using a .net framework application in visual studio at the same time and was opening and closing the core solution repeatedly so I'm thinking the package got corrupted somehow.

这篇关于VS解决方案资源管理器分析器惊叹号:ef1000“可能的SQL注入漏洞"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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