tag:help.appveyor.com,2012-11-13:/discussions/problems/3306-the-dnx-runtime-package-needs-to-be-installed-errorAppVeyor: Discussion 2018-10-19T08:17:31Ztag:help.appveyor.com,2012-11-13:Comment/382436942015-10-20T08:56:45Z2015-10-20T08:56:45Z`The Dnx Runtime package needs to be installed` error<div><p>Ok I think I found out why. Locally I've been using sdk version
<code>rc1</code> while in my install script on appveyor I was
installing <code>beta8</code> version so the runtime was looking
for <code>dnx.1.0.0-rc1</code>.</p>
<p>I think I also have to edit <code>global.json</code> to the
following:<br></p>
<pre>
<code>{
"projects": [ "src", "test" ]
}</code>
</pre>
Added "test" so that the test project would also build.
<p>Will post back the results.</p></div>Mohammad Rahhaltag:help.appveyor.com,2012-11-13:Comment/382436942015-10-20T09:43:34Z2015-10-20T09:43:34Z`The Dnx Runtime package needs to be installed` error<div><p>The main dnx project is building correctly now, but the test
project is still failing.</p>
<p>The build is still looking for <code>beta7</code> and I have no
idea why:<br></p>
<pre>
<code>Cannot find DNX runtime dnx-clr-win-x86.1.0.0-beta7 in the folder: C:\Users\appveyor.dnx\runtimes</code>
</pre>
<p>I was using <code>beta7</code> before but now I've upgraded, but
why is this project still looking for <code>beta7</code> although
I'm specifying <code>beta8</code> in <code>global.json</code>.</p></div>Mohammad Rahhaltag:help.appveyor.com,2012-11-13:Comment/382436942015-10-20T09:58:22Z2015-10-20T09:58:23Z`The Dnx Runtime package needs to be installed` error<div><p>Ok, problem solved.<br>
The problem is in the place where global.json lives. It should be
in the root of the project while it was in one of my project's
subfolder. This way, the test project finds global.json and reads
that the required sdk version is <code>beta8</code>.</p></div>Mohammad Rahhal