Skip to content

Clean clone and build has errors. #33

Description

@davidfowl

I cloned libgit2sharp and ran runbuild.cmd and I get the following error:

 C:\dev\github\libgit2sharp\Lib\NUnit\nunit-console.exe /nologo C:\dev\github\
  libgit2sharp\build\LibGit2Sharp.Tests.dll /xml=C:\dev\github\libgit2sharp\bui
  ld\Test-result.xml
  ProcessModel: Default    DomainUsage: Single
  Execution Runtime: Default
  Unhandled Exception:
  System.BadImageFormatException: Could not load file or assembly 'LibGit2Sharp
  .Tests, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its
  dependencies. An attempt was made to load a program with an incorrect format.
  File name: 'LibGit2Sharp.Tests, Version=1.0.0.0, Culture=neutral, PublicKeyTo
  ken=null'

  Server stack trace:
     at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBas
  e, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMar
  k, Boolean throwOnFileNotFound, Boolean forIntrospection)
     at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evide
  nce assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
     at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
     at NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)
     at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Bool
  ean autoSuites)
     at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Stri
  ng testName, Boolean autoSuites)
     at NUnit.Core.TestSuiteBuilder.BuildSingleAssembly(TestPackage package)
     at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
     at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
     at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
     at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
     at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessa
  ge(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecute
  InContext, Object[]& outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(I
  Message msg, Int32 methodPtr, Boolean fExecuteInContext)

  Exception rethrown at [0]:
     at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
  reqMsg, IMessage retMsg)
     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& ms
  gData, Int32 type)
     at NUnit.Core.TestRunner.Load(TestPackage package)
     at NUnit.Util.TestDomain.Load(TestPackage package)
     at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
     at NUnit.ConsoleRunner.Runner.Main(String[] args)

  WRN: Assembly binding logging is turned OFF.
  To enable assembly bind failure logging, set the registry value [HKLM\Softwar
  e\Microsoft\Fusion!EnableLog] (DWORD) to 1.
  Note: There is some performance penalty associated with assembly bind failure
   logging.
  To turn this feature off, remove the registry value [HKLM\Software\Microsoft\
  Fusion!EnableLog].

C:\dev\github\libgit2sharp\CI-build.msbuild(31,5): error MSB6006: "nunit-console.exe" exited with code -100.

Am I missing anything obvious?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions