locked
Application blocks on int x = PrinterSettings.InstalledPrinters.Count; RRS feed

  • Question

  • User2585 posted

    Hi, 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.

    Thursday, July 25, 2013 9:08 AM

All replies

  • User65 posted

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

    Thursday, July 25, 2013 3:48 PM
  • User2585 posted

    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.

    Thursday, July 25, 2013 3:55 PM