Forum member

Martin Evans

6 posts

Posts by Martin Evans

  1. NCrunch behaving strangely with AppDomains

    I'm using the [url=https://github.com/jduv/AppDomainToolkit]AppDomainToolkit[/url] to build a plugin system and I've encountered some behaviour which is making it impossible for me to test it using NCrunch. My test code looks like this: [code=csharp]namespace AppdomainPlayground { public cl…

  2. Post Build Event Failing

    Thanks very much for the help Remco. Do you have any recommendations for how libgit2sharp could be changed to fix this? If you do then I may create an issue on the github and link this thread :)

  3. Post Build Event Failing

    I added the post build event to the test project as you suggested, now I end up with a NativeBinaries directory, as expected, in the TestProject1/bin directory. However, the test still fails with a DLL not found exception. My guess is libgit2sharp relies on the working directory being set to the bui…

  4. Post Build Event Failing

    I tried copying assemblies to the workspace, this made no difference. Browsing to the workspace shows me that in the bin folder for the TestProject is [i]TestProject1.dll[/i] and [i]TestProject1.pdb[/i], so it looks like the NativeBinaries folder hasn't been copied across.

  5. Post Build Event Failing

    Aha, that fixed the post build event outright failing. But now I get a "[i]System.DllNotFoundException[/i]" - i.e. the post build event hasn't properly put the files into a place where they could be found by libgit2sharp.

  6. Post Build Event Failing

    I've built a solution with three projects, using [url=https://github.com/libgit2/libgit2sharp]libgit2sharp[/url]. The solutions are: 1. A class library, referencing libgit2sharp (with a post build event, which copies the native git binaries into the build directory). 2. A console project, which …