0

I just got a new Xamarin.Forms portable project in Visual Studio, and I'm trying to run it on the VM. When I run it, this error appears:

Error encountered while loading the project...

How do I fix it? Every project I start has this error.

2
  • it sounds like you have a bad or incomplete installation of Xamarin Commented Aug 17, 2016 at 22:47
  • do i need to reinstall it? Commented Aug 17, 2016 at 22:50

2 Answers 2

2

I think of 2 possibilities here where I've faced such problem

  1. Broken/ incomplete downloaded zips

This may have occurred because you cancelled or closed the VS out of frustration because it was taking too much time.

while in fact the visual studio is downloading the zips at AppData/Local/Xamarin/zips. because you closed visual studio, the zip files are not completely downloaded.

what you do is go to AppData/Local/Xamarin/zips delete all the zip files then AppData/Local/Xamarin you should only see Universal, zips and logs folders delete the rest. wait for the zips to install completely. this is gonna take time for sure.

  1. Problem with the References

Check if any of the references are showing any warning sign or something. if so remove the reference and reinstall it.

Sign up to request clarification or add additional context in comments.

Comments

0

This fixed it for me:

  1. Close your project

  2. Locate the project's *.suo file and delete it (it may be a hidden file, don't remember)

  3. Reload your project

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.