could also be DEBUG only - so you have build the dll as debug (so it can see it), but when you use it, it's RELEASE, and hence thats been stripped out?
On Thu, May 10, 2012 at 1:04 PM, Nic Wise <[email protected]> wrote: > Reference System.Diagnostics.dll in your main program? I think it's a > seperate assembly > > On Thu, May 10, 2012 at 1: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. >> >> 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 > > > > -- > Nic Wise > t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise > b. http://www.fastchicken.co.nz/ > > Earnest: Self-employed? Track your business expenses and income. > http://earnestapp.com > Nearest Bus: find when the next bus is coming to your stop. > http://goo.gl/Vcz1p > mobileAgent (for FreeAgent): get your accounts in your pocket. > http://goo.gl/IuBU > Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa > London Bike App: Find the nearest Boris Bike, and get riding! > http://goo.gl/Icp2 -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
