[mono-android] Linker crashing "Failed to resolve System.Console setforegroundcolor"

Liam Houlahan liamhoulahan at gmail.com
Wed Oct 3 22:53:06 UTC 2012


Hi

I have an app that was first developed with the initial versions of
MonoDroid.

I have since updated it as it was crashing on launch in the newer versions
of Android (3.0 +). The issues causing this were related to missing
constructors.

Now when I try to build the application for release linking the assemblies
the linker is crashing with the following error:

/Users/liam/Projects/crash/crash/App.MonoDroid/App.MonoDroid.csproj
(SignAndroidPackage) ->
/Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets
(_LinkAssemblies target) ->


/Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets:
error : Error executing task LinkAssemblies: Failed to resolve System.Void
System.Console::set_ForegroundColor(System.ConsoleColor)

The only third party library that I am using is DotNetZip.

Does anyone know what this error means and how I can go about fixing it?

Thanks
Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20121004/97023a00/attachment.html>


More information about the Monodroid mailing list