Application blocks on int x = PrinterSettings.InstalledPrinters.Count;

lipalipa HRMember, Beta

Today I have installed Mono 3.2.0. and Xamarin Studio 4.0.10 (build 7).
After some minor code changes regarding Mono.CSharp.Evaluator class I have stucked on:

int x = PrinterSettings.InstalledPrinters.Count;

My Mac is running OSX 10.8.4. When I execute above code, application just stops and nothing happens. Also calling:

string test = PrinterSettings.InstalledPrinters[0];

ends up with same result (I have HP network printer, USB Samsung and RS-232 Star POS printers installed. With Mono 2.x.x everything is working fine.


  • JasonAwbreyJasonAwbrey USInsider, University, Developer Group Leader mod

    Is this a Mac app? If so you should probably ask on the Xamarin.Mac forum

  • lipalipa HRMember, Beta

    Thanks for advice, it is multiplatform app (OSX, UX & WIN). I am not planing to port entire application right now to Mono 3.2.0, this is just the result of my run with Mono 3.2.0 as now exists stable release for OSX, so I am just reporting this situation.

Sign In or Register to comment.