Saturday 15 June 2013

c# - NUnit test errors 'Could not load file or assembly..' -


I am struggling to get a NUnit test class to work, using NUnit 2.6.2 VS2012 through Resharper 7.1.2 The problem I am facing is that when I run / debug a test case, then no project assemblies can be found for the NUinit test. It appears that all DLL debugs are in the folder for the Test app, but the testing app is not looking for them. Using Fusion Logs, I'm showing this error: -

  & lt; Html & gt; & Lt; Head & gt; & Lt; Meta http-equiv = "content type" content = "text / html; charset = UTF-8" & gt; & Lt ;! - URL = (0015) Saved by assembly: - & gt; & Lt; / Head & gt; Body & gt; & Lt; Pre & gt; *** Legislation Bunders Log Entry (21/06/2013 @ 08:46:43) *** Operation failed. Share results: HR = 0x80070002 The system failed to detect the specified file. Load from the assembly manager: C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ clr.dll running under C: \ Program Files (x86) \ JetBrains \ ReSharper \ v7.1 \ Bin \ JetBrains.ReSharper .TaskRunner .CLR4.exe --- A detailed error log is as follows. === Information of pre-compelled condition === log: display name = PbakConnectAssy, version = 1.0.0.0, culture = neutral, enter the code 'here' PublicKeyToken = null LOG (full-specified) LOG: Appbase = file: / // C: / Program Files (x86) / JetBin / Resource / v7.1 / Bin / Log: Initial Privatepath = Null Log: Dynamic Base = Null Log: Cache Base = Null Log: APInam = JetBin Reserver Taskaraner CLR4 XEE Calling Assembly: (unknown). === LOG: This starts in the default load reference bound. Log: Using the application configuration file: C: \ Program Files (x86) \ JetBrains \ ReSharper \ v7.1 \ bin \ JetBrains.ReSharper.TaskRunner.CLR4.exe.Config LOG: Using Host Configuration File: LOG: Using the machine configuration file C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ config \ machine.config Log: The policy is not being applied to the context at this time (private, custom, partial, or Bind space-based assembly). Log: Attempt to Download New URL File: /// C: / Program Files (x86) / JetBrain / Resource / v7.1 / Bin / PinnacCSSDLL Log: Attempt to Download New URL File: /// C: / Program Files (x86) / JetBin / Resource / v7.1 / Bin / PubConnect AC / Public Connect AC.dll Log: Attempt to Download New URL File: /// C: / Program Files (x86) / JetBin / Resporter / v7.1 / Bin / PeacockSC.exe Log: Attempt to Download New URL File: /// C: / Program Files (x86) / JetBin / Resource / v7.1 / Bin / PubC Connect ASC / PINCanc.Sec.XE Logs: All checking URLs attempted and failed & Lt; / Pre & gt; & Lt; / Body & gt; & Lt; / Html & gt;   

I am completely stumped, so any help would be appreciated.

Change the testing platform of your testing platform to x86.

Update:

Additionally, ReSharper 7.1.2 is running on a bug view Studio 2012. Updating the Resource in Version 7.1.3 Try.

Here is a related question:

No comments:

Post a Comment