Antlr Fails to install in VS2010 via Nuget with error: External packages cannot depend on packages that target projects
<p>Antler lists StackOverflow as its support site. So here's my support question. When I attempt to install the ANTLR 4 parser generator package, <code>Antlr4</code> specifically, for Visual Studio 2010+ projects (version 4.5.3.1-beta001) via NuGet 2.8.60318.667, I get the following error:</p>

<pre><code>Attempting to resolve dependency 'Antlr4.CodeGenerator (≥ 4.5.3.1-beta001)'.
External packages cannot depend on packages that target projects.
</code></pre>

<p>How do I work around this and get the ANTLR code generator installed?</p>