<div dir="ltr"><div>How can I reference a NuGet package from an xml-defined project template? Is it possible?<br></div><div><br>






<font face="Monospace">
<span style="color:rgb(51,51,51)"></span><span style="color:rgb(51,51,51)">      <</span><span style="color:rgb(51,100,164)">Project</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">name</span><span style="color:rgb(51,51,51)"> =</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(245,125,0)">$</span><span style="color:rgb(245,125,0)">{</span><span style="color:rgb(245,125,0)">ProjectName</span><span style="color:rgb(245,125,0)">}</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">directory</span><span style="color:rgb(51,51,51)"> =</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(245,125,0)">.</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(51,51,51)">></span><br>

<span style="color:rgb(51,51,51)">            </span><span style="color:rgb(51,51,51)"><</span><span style="color:rgb(51,100,164)">Options</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">Target</span><span style="color:rgb(51,51,51)"> =</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(245,125,0)">Library</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">/</span><span style="color:rgb(51,51,51)">></span><br>

<span style="color:rgb(51,51,51)">            </span><br>
<span style="color:rgb(51,51,51)">            </span><span style="color:rgb(51,51,51)"><</span><span style="color:rgb(51,100,164)">References</span><span style="color:rgb(51,51,51)">></span><br></font></div><div><font face="Monospace">                <!-- NuGet package? --><br>
</font></div><div><font face="Monospace">
<span style="color:rgb(51,51,51)">                </span><span style="color:rgb(51,51,51)"><</span><span style="color:rgb(51,100,164)">Reference</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">type</span><span style="color:rgb(51,51,51)">=</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(245,125,0)">Package</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">refto</span><span style="color:rgb(51,51,51)">=</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(245,125,0)">System</span><span style="color:rgb(245,125,0)">,</span><span style="color:rgb(245,125,0)"> </span><span style="color:rgb(245,125,0)">Version</span><span style="color:rgb(245,125,0)">=</span><span style="color:rgb(245,125,0)">1</span><span style="color:rgb(245,125,0)">.</span><span style="color:rgb(245,125,0)">0</span><span style="color:rgb(245,125,0)">.</span><span style="color:rgb(245,125,0)">5000</span><span style="color:rgb(245,125,0)">.</span><span style="color:rgb(245,125,0)">0</span><span style="color:rgb(245,125,0)">,</span><span style="color:rgb(245,125,0)"> </span><span style="color:rgb(245,125,0)">Culture</span><span style="color:rgb(245,125,0)">=</span><span style="color:rgb(245,125,0)">neutral</span><span style="color:rgb(245,125,0)">,</span><span style="color:rgb(245,125,0)"> </span><span style="color:rgb(245,125,0)">PublicKeyToken</span><span style="color:rgb(245,125,0)">=</span><span style="color:rgb(245,125,0)">b77a5c561934e089</span><span style="color:rgb(245,125,0)">"</span><span style="color:rgb(51,100,164)"> </span><span style="color:rgb(51,51,51)">/</span><span style="color:rgb(51,51,51)">></span><br>

<span style="color:rgb(51,51,51)">            </span><span style="color:rgb(51,51,51)"><</span><span style="color:rgb(51,51,51)">/</span><span style="color:rgb(51,100,164)">References</span><span style="color:rgb(51,51,51)">></span></font>

<br></div></div>