monodevelop and nunit integration - exception

I use MonoDevelop from several years but I'm now having problem with NUnit plugin.
I've started a new simple project with few tests... The binary is tested without problem from nunit-console, but when in MonoDevelop I get a NullReferenceException and the stack trace reports an error at System.Runtime.Proxies.RealProxy.PrivateInvoke etc.
I'm running Ubuntu 11.10 with a 64 bit processor. I've no problem on Windows (how it's possible?) or Mac laptops (this is normal!).
Regards,
Giacomo

Related

ChromeDriver 2.31 not working in CentOS / RHEL 7 (gilbc 2.18 required)

When trying to use ChromeDriver 2.31 in CentOS 7 I get the following error:
version 'GLIBC_2.18' not found
ChromeDriver developers confirm that glibc library dependency has been promoted to 2.18, while CentOS 7 has version 2.17.
Related links:
Announcing ChromeDriver 2.31
ChromeDriver Issue #1894
ChromeDriver Issue #1772
Is there a way to make it work without switching to another OS?
The Chromium developers are aware of the issue and working on a fix:
glibc dependency creeped up to 2.18 in M61, breaking EL7 support
During the switch to libc++, they accidentally referenced a new symbol from the glibc version in their sysroot, __cxa_thread_atexit_impl. But this was only introduce in glibc 2.18, and Red Hat Enterprise Linux 7 only has version 2.17. Apparently, for their use cases, libc++ works well enough without this symbol (similar to libstdc++ from GCC), so they just need to tweak their build not to use it, and Chromium (and thus Chrome Driver and Chrome unstable) should work again soon.
As an end user or even software developer who cannot rebuild the software in question (or maybe just does not want to invest such a non-trivial effort), there is little one can do about such glibc version dependencies. Therefore, it is pretty much a requirement that all builds happen against a build environment which matches the oldest operating system version one wants to support.
Dependency to GLIBC 2.18 have been removed in Chromedriver 2.32, so that version is safe to use on Centos 7.
Back to chromedriver 2.30 and it work with google-chrome-stable.x86_64 0:60.0.3112.113-1 on CentOS 7

Upgraded to Xcode 7.2 and my UI Tests Pass without running

I just upgraded to Xcode 7.2 and now my tests succeed without even running. As soon as it finishes building, it gives me the "Test Succeeded" message and the console shows no output.
Is anyone else having this issue?
UPDATE: So it looks like it's not working only on one specific device, which is an iPAD AIR 2, and the UI Test platform doesn't even install onto the device. It doesn't work on 2 separate machines both with Xcode 7.2.
The issue was resolved when I updated my device to iOS 9.2. I don't see why this could've been the issue seeing all my other devices managed to run tests fine on 9.1.
I had the same issue with Xcode 7.3.1 and iOS 9.3.1. Rebooting the iOS device solved my problem.

Error when set project in release mode - Windows Phone 8.1

Am porting my Windows Phone 8 app to Windows Phone 8.1 and everything is working fine in debug mode. But when I set in release mode and while building the application, I get the error,
The type of namespace "FlickGestureEventArgs" could not be found
The type of namespace "ShakeGestureEventArgs" could not be found
How to overcome this? I couldn't launch the app certification kit when in debug mode.
Got solution for my own question and here is my answer.
First I re-installed the WP toolkit from nuget using the command
Install-Package WPtoolkit
So that I can able to solve FlickGestureEventArgs. And similarly I thought this will be solution to my another problem ShakeGestureEventArgs. Started searching for the new ShakeGesture.dll and find that in below link.
ShakeGesture.dll
Now my problem is solved. If you are facing the same issues, just re install the packages which shows error and you can able to solve it.

NUnit GUI Runner for Windows Phone 8 class library - problems with some System libraries

I'm working on library projects for Windows Phone 8, and using NUnit for unit-testing. My IDE is Visual Studio 2012 Express edition for WP8. It'd been so far so good until a day when it happened to some tests failing saying that it's unable to load some system packages (in particular, System.Xml and System.Net version 2.0.5.0). So I tried:
Looked for the System.Xml and System.Net version 2.0.5.0 so that I could GAC them somehow , but found them nowhere. The closest version I have is 2.0.50272. I indeed tried to use this, it didn't complain anymore but the XmlSerializer.CreateReader and CreateWriter returned null... So the tests failed eventually after that.
Checked out the NUnit and upgraded the projects there to base on .NET 4.0, re-deployed to used this newly built NUnit framework and runner... It didn't work, the same error occurred.
When debugging, I saw it looked like the NUnit GUI loads the dependencies of my libraries using .NET framework run-time 2.0. Although all my libraries are Windows Phone 8 based. Would be very appreciative if someone could shed me some light on this.

Getting Sourcery Codebench to run on Windows

I'm having trouble setting up a cross compiler (Sourcery Codebench) and simulator (OVP) on my machine. Could someone please show me how to do this?
I'd like to cross compile C to MIPS and then simulate it on my windows 7 x86-64bit machine. I don't have a lot of experience with this kind of thing and am having trouble even figuring out which versions to download
I have seen one or 2 other questions about getting sourcery to work on windows, but they didn't have the information I need.
I am not familiar with OVP, but I do know Sourcery CodeBench. Sourcery CodeBench is available for Windows and comes in an easy to use installer. The lite edition pages are here:
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/
There are links for MIPS ELF (Bare Metal) and GNU/Linux lite edition downloads. I'm not sure which one you need. The most recent toolchains are from the Spring 2012 release.
Once you have installed the toolchain, you can compile your application and run it on real hardware or on a simulator.
How far did you get? Did you install the toolchain and simulator? Can you compile and run the application on your target?