tag:help.appveyor.com,2012-11-13:/discussions/problems/1802-invalidcastexception-while-running-nunit-testsAppVeyor: Discussion 2018-08-25T01:54:55Ztag:help.appveyor.com,2012-11-13:Comment/363365462015-03-20T18:43:38Z2015-03-20T18:43:38ZInvalidCastException while running NUnit tests<div><p>Will take a look.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/363365462015-03-22T04:32:22Z2015-03-22T04:32:22ZInvalidCastException while running NUnit tests<div><p>I see you depend on <code>nunit 2.6.4</code> however on build
workers there are still <code>2.6.3</code> - maybe this could be a
problem.</p>
<p>You're already installing 2.6.4 nunit runners into
<code>packages</code> directory, so you may try running tests with
them with tests auto-discovery disabled.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/363365462015-03-23T17:38:55Z2015-03-23T17:38:55ZInvalidCastException while running NUnit tests<div><p>It seems like downgrading to 2.6.3 has fixed it. I also had
issues using the latest MSBuild but found that solution as well.
I've worked through my process step-by-step of getting NUnit,
VS2015, etc., working here: <a href="https://ci.appveyor.com/project/dlras2/coreutilities-projecttemplate/history">
https://ci.appveyor.com/project/dlras2/coreutilities-projecttemplate/history</a></p>
<p>Thanks for taking a look!</p></div>cyclotis04tag:help.appveyor.com,2012-11-13:Comment/363365462015-03-23T18:15:19Z2015-03-23T18:15:19ZInvalidCastException while running NUnit tests<div><p>Sure, thanks for the update!</p></div>Feodor Fitsner