Hi,

On Thu, May 10, 2012 at 2:00 PM, Pure Krome <
[email protected]> wrote:

> Hi folks,
>
> Summary: I'm getting a run-time error when a .NET dll i'm referencing,
> throws this error:
>
> Missing method WriteLine in assembly
>
> /Users/PewPew/Projects/NBuilder/Source/FizzWare.NBuilder/bin/Debug/FizzWare.NBuilder.dll,
> type System.Diagnostics.Trace
>
> I've built (that 3rd party dll) source in MD, against .NET 3.5, then
> referenced it, in my iPhone project.
>

You need to build the dll in MD using a MonoTouch class library, so that
it's built against the MonoTouch bcl.

Rolf


>
> I'm not sure what to do :(
> ------
>
> DETAILED PROBLEM:
>
> I just started a test iPhone app (single view, one single search-bar with a
> single event).
> I've wired up the TextChanged event and when I type a single character, my
> code is called (woot!).
>
> this is the code...
>
> var products = productService.Search(SearchBarControl.Text.Trim());
>
> pretty simple. I grab the text from the SearchBar and try and 'search' for
> products.
>
> Now the productService creates a fake list of products using a 3rd party
> package called NBuilder (http://nbuilder.org/) and then returns any
> products
> that starts with the input text. Really simple autocomplete.
>
> It's that 3rd party dll which is crashing.
>
> I thought that, if i just clone the source, rebuild as .NET 3.5 mono, and
> then reference that dll .. i should be good to go. If the source doesn't
> compile, then I'll get some -compile-time- error and therefore I should
> need
> to fix it.
>
> Any suggestions what I could do to fix this / get this working?
>
> (Using all these 3rd party dll's is really really frustrating and makes MT
> programming painful :( I really hope PCL will make this waaay easier in the
> future.)
>
> -PK-
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/How-can-I-get-around-this-runtime-error-tp4623251.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to