Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

CodeAnalysis exception CA1703, CA1804 and CA2135

$
0
0

Hi Team,

We have migrated our code from VS 2010 to VS 2015 and while running the Code Analysis tool on the solution i am facing the below three exceptions:

CA2135 Level 2 security it should be protected by being security critical instead. Remove the LinkDemand.

CA1703 Correct the spelling.

CA1804 Declare a variable which is never used.

Note: Code Analysis is working fine with Visual Studio 2010 with the same rule set and dictionary variables.

.Net framework version upgraded from V4.0 to V4.7.

Please guide me. Thanks.


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>