VS Solution Explorer Analyzers exclamation: ef1000 “possible sql injection vulnerability”

后端 未结 2 1488
天涯浪人
天涯浪人 2021-01-07 22:21

Strange message in Solution Explorer.

ef1000 \"possible sql injection vulnerability\"

It doesn\'t prevent compile, no errors, no warnings, no messa

2条回答
  •  走了就别回头了
    2021-01-07 23:16

    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.

提交回复
热议问题