這讓我感到非常震驚,當然總是在最糟糕的時刻。 當我編輯XAML文件,我收到此錯誤loadFromRemoteSources enabled =「true」// XAML設計師// VS 11 beta和2012 RC
(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.)
我加入devenv.exe.config
<configuration>
<runtime>
<loadFromRemoteSources enabled="true" />
</runtime>
</configuration>
的recommended元素這是爲了擺脫這一點,但不工作爲了我。 我應該在其他地方添加嗎? 系統如何知道這是從互聯網下載的? 我該如何擺脫這種警告?
太晚了50分獎金,但**這**是答案! – nicolas 2012-08-07 07:59:45