NUnit v3 alpha in command line: Assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) -



NUnit v3 alpha in command line: Assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) -

i'm trying run nunit v3 alpha command line. here's command line: [...] \nunit3\nunit-console nunitalpha3experimental.exe /framework:net-4.5

at first, got error:

errors , failures not load file or assembly 'nunit.framework, version=3.0.5378.31152, culture=neutral, publickeytoken=2638cd05610744eb' or 1 of dependencies. assembly built runtime newer loaded runtime , cannot loaded.

then edited nunit-console.exe.config comment .net 2.0

<startup uselegacyv2runtimeactivationpolicy="true"> <!-- comment out next line forcefulness utilize of .net 4.0 --> <!--<supportedruntime version="v2.0.50727" />--> <supportedruntime version="v4.0.30319" /> </startup>

i tried these command line (with 4.0 , 4.5) [...] \nunit3\nunit-console nunitalpha3experimental.exe /framework:net-4.0 [...] \nunit3\nunit-console nunitalpha3experimental.exe /framework:net-4.5

here's error message get:

errors , failures not load file or assembly 'nunit.framework, version=3.0.5378.31152, culture=neutral, publickeytoken=2638cd05610744eb' or 1 of dependencies. located assembly's manifest definition not match assembly reference. (exception hresult: 0x80131040)

then tried edit nunit-console.exe.config add together new entry .net 4.5. tried 4.5, 4.5.1, 4.5.50710, 4.5.50938, 4.5.50932, 4.5.51641 (all of them nowadays in command panel -> programme , features) , windows popup asking me install .net framework 4.5.

edit: new entry .net framework 4.5* shouldn't work anyways. unit tests run if error message. more info here: https://github.com/nunit/nunit-console/issues/42#issuecomment-58709851

can help me that? give thanks you.

it looks problem due many versions of dll included nunit 3.0 (one of each .net framework version) , how made available assembly. more info here: https://github.com/nunit/nunit-console/issues/42#issuecomment-58713975

nunit nunit-console

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -