How do I modify my settings to allow VS2010 to load 3rd party XSD files from the “Unauthorized Zone”

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<table border="0
<tbody>
<tr>
<td>



</td>
<td>


I have opened a 3rd party XSD file in Visual Studio 2010 that imports namespaces from other schema files from the same 3rd party.
In the XML editor view of the schema file, the xs:import element is underlined with the following error: Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed.
I read the following blog post: <a rel="nofollow http://blogs.msdn.com/b/xmlteam/archive/2009/06/04/understanding-xml-schema-sets-in-the-xsd-designer.aspx
<span style="color:#4a6b82 http://blogs.msdn.com/b/xmlteam/archive/2009/06/04/understanding-xml-schema-sets-in-the-xsd-designer.aspx which states that its a security zone violation and Visual Studio places the schemas in the "Unauthorized zone"
in the XML Schema Explorer.
My question is - how do I change my security settings to allow these schemas to be referenced, or is there something I can do to make the schemas and namespaces associated with them "trusted"?


</td>
</tr>
</tbody>
</table>

View the full article
 
Back
Top