I get stung on a recurring basis by this, and of course always at the worst moment. When I edit a xaml file, I receive this error
(System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.)
I added the recommended elements in devenv.exe.config
<configuration>
<runtime>
<loadFromRemoteSources enabled="true" />
</runtime>
</configuration>
which is supposed to get rid of that, but does not work for me. Should I add this elsewhere ? How does the system knows in the first place that this was downloaded from the internet ? How can I get rid of that warning ?