jfversluis / been-pwned

App that leverages the haveibeenpwned.com API by Troy Hunt. This app is available in the App Stores and is used in several of my talks as well as my book Xamarin.Forms Essentials.
MIT License
16 stars 3 forks source link

App (re)build fails under VS 15.5.6 #63

Open npagare opened 6 years ago

npagare commented 6 years ago

Hi @jfversluis and community, I just cloned the repo[master] and rebuilding of the solution in VS 15.5.6 fails with errors as shown in the screenshotsbelow. Any thoughts if I am missing any config steps? Do I need to manually update nugget packages? @jfversluis - is there any plan to migrate the PCL project to .net standard 2.0?

image image

-Thanks.

[P.S. - I am new to the Xamarin world. Your help and guidance is highly appreciated]

jfversluis commented 6 years ago

Hi @IoTFier, great that you are setting foot in the wonderful world of Xamarin!

This error seems weird, and although I worked on it a while ago, I can't seem to recall that this happened. I should probably convert it to .NET Standard. Maybe I will soon and create a blogpost about the process.

Now for this problem, I will try to clone a fresh copy and see what happens here.

jfversluis commented 6 years ago

Something weird is going on. It happens to me as well, but when I set the startup project to either iOS or Android it works?

npagare commented 6 years ago

@jfversluis , I am getting those errors even when my startup project is set up as Android. The app did come up on iOS set up as a startup project... but there were still 11 errors in the core project. See the screenshot as attached below. [ I would also request you to see if build has any issues in the VS preview 15.6.3 version ]

I want to review and learn from the code across various aspect including structure of the folders across projects, platforms, dependencies and output displayed in the process of app building. I am not able to find many blogs / authors explaining about the required configurations with multiple variation possibilities that exist in VS. Techniques to analyze issues from output of the consoles and error / warning window etc. In the case of this App, it looks like there is a dependency on the API built by you and the team, but readme doesn't highlight that. I have downloaded the API project - do I need to containerize it / host it locally or point to a URL where you are hosting that API ? I think those guidelines will be very valuable to have documented in the readme file.

Will be waiting for your guidance. Thanks

image

npagare commented 6 years ago

Hi @jfversluis , any input? Thanks

jfversluis commented 6 years ago

Not yet, I will get back to you when I do