Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can always make simple xsd schema for 'packages.config' to get rid of this warning. To do this, create file named "packages.xsd": </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="urn:packages" xmlns="urn:packages"&gt; &lt;xs:element name="packages"&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element name="package" maxOccurs="unbounded"&gt; &lt;xs:complexType&gt; &lt;xs:attribute name="id" type="xs:string" use="required" /&gt; &lt;xs:attribute name="version" type="xs:string" use="required" /&gt; &lt;xs:attribute name="targetFramework" type="xs:string" use="optional" /&gt; &lt;xs:attribute name="allowedVersions" type="xs:string" use="optional" /&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;/xs:schema&gt; </code></pre> <p>Location of this file (two options)</p> <ul> <li>In the same folder as 'packages.config' file,</li> <li>If you want to share <code>packages.xsd</code> across multiple projects, move it to the Visual Studio Schemas folder (the path may slightly differ, it's <code>D:\Program Files (x86)\Microsoft Visual Studio 10.0\Xml\Schemas</code> for me).</li> </ul> <p>Then, edit <code>&lt;packages&gt;</code> tag in <code>packages.config</code> file (add <code>xmlns</code> attribute):</p> <pre><code>&lt;packages xmlns="urn:packages"&gt; </code></pre> <p>Now the warning should disappear (even if packages.config file is open in Visual Studio).</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload