iOS Run time errors (type or namespace name not found) with Xamarin Live Player and Hanselman.Forms

GordonBrownGordonBrown Gordon BrownUSMember ✭✭

I created an app based off the Hanselman Forms app. I'm trying to get it to run with the new Xamarin iOS Live Player and i'm getting runtime build errors.
To make sure it wasn't something i broke i did a fresh install of Hanselman Forms and Visual Studio 2017 Preview and connected the iPhone live player.

The build compiles fine with VS. Trying to run the debug app with Live Player on iPhone gives the following errors.

The following errors were encountered when building and running your app:

• TweetStore.cs: The type or namespace name 'ITweetStore' could not be found (are you missing a using directive or an assembly reference?)
• TweetStore.cs: The type or namespace name 'Tweet' does not exist in the namespace 'Hanselman.Portable' (are you missing an assembly reference?) • LaunchTwitter.cs: The type or namespace name 'ILaunchTwitter' could not be found (are you missing a using directive or an assembly reference?)
• AppDelegate.cs: The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)

OK

The packets have been refreshed. I've removed the bin/obj files to do a fresh build.
I've removed the reference, built clean, got similar errors in VS, added the reference back in and the VS build succeeds.
Android works fine.
The MasterDetailForms solution builds and displays on the iOS live player. The difference I see there is that it's not using a PCL.

Any ideas as to what i'm missing?

Best Answer

Answers

  • PrullebakPrullebak Thomas Muller NLMember ✭✭

    Already an update on this?

  • DevvDevv Stephen Devlin USMember ✭✭

    Has this been corrected?

  • AlvaroRivoirAlvaroRivoir Alvaro Rivoir USMember ✭✭
    edited July 10

    I just updated visual studio preview (15.3.0 Preview 3.0) to the latest version and I'm still having the same problem.

  • AlanJonesRiosAlanJonesRios Alan Jones Rios USMember

    Same errors with PRISM.

  • SheemuSheemu Shivam Singh Singh USMember ✭✭

    same errors with me ?

  • WilliamBello.8915WilliamBello.8915 William Bello USMember

    This error is still happening, any workaround?

  • RonFreschiRonFreschi Ron Freschi USUniversity ✭✭

    Just grabbed latest cycle 15.4 update for VS Mac and I'm still seeing the namespace not found issue

  • ArashDaneshvarArashDaneshvar Arash Daneshvar USMember
    edited October 12

    Same here with latest version. Actually it returns error for all my custom renderers.

  • Simba.MupfunyaSimba.Mupfunya Simba Mupfunya BEMember

    The error is still prevalent, xamain forms (2.4.0) and Prism unity.
    Any status update about this?

  • TDenisTDenis Denis Toloknov USMember ✭✭

    same errors with me too, any ideas?

  • TDenisTDenis Denis Toloknov USMember ✭✭

    @JamesMontemagno said:
    The next update for iOS has a lot of enhancements around this to fix up this issues. It is in review now.

    "next update" - in which year will this update?

  • JamesMontemagnoJamesMontemagno James Montemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    Simply sign up for the Test Flight version for now: https://xamarinhq.wufoo.com/forms/live-player-alpha-program-agreement/

Sign In or Register to comment.