The problem of security warning
Its been bugging be for quite a while, and still bugging me when I pair with other developers so finally decided to put few notes on this Tips.
Here is what it looks like, it happens in most of the cases when you have WCF Service running and your application use that WCF service which require elevated privilege.
I am sure you have seen the bellow screen shot.
Fix of security warning
The fix is simple, you got to change a registry value.
The target registry path is located under Computer\HKEY_CURRENT_USER\Software\Microsoft\VisualStudo\10.0\Dubugger and the key is “DisableAttachSecurityWarning” the default value is “0” and we have to set its value to “1” to get rid of the security warning.
Note that you have to close visual studio before making the change, other wise the value will not get set.