Hi,
So, I have been trying to fix this error I am getting over a month now, but with no success. I am currently working on a personal app project in collaboration with a few of my other developer friends and surprisingly the project compiles perfectly fine on my friends machine.
The following is the error I am getting:
"The imported project "C:\Users\divye\Documents\NHSF Xamarin App\packages\Xamarin.Forms.2.5.0.280555\build\netstandard1.0\Xamarin.Forms.DefaultItems.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk".
I can't understand why my code will not compile. I have gone through lots and lots of Stack Overflow posts and tried pretty much all the proposed solutions without any success. As a last resort I am having to post on here. I have also posted on Stack Overflow too.
I have tried the following:
- Deleted the project locally from my machine and re-cloned the git repository and then tried running the project
- Cleaned the project out and tried rebuilding again
- Have spoken with my friend who is also working on the project, and matched my local project set out to his
- I have gone into the Xamarin.iOS and Xamarin.Android .csproject files and also manually added in the Import statement for 'Xamarin.Forms.DefaultItems.props'
- I have manually checked the folder '$..\netstandard1.0\ folder path to make sure the 'Xamarin.Forms.DefaultItems.props' file physically exists in the folder and it does for both iOS and Android.
- Updated all packages in Xamarin Studio for the project to make sure latest versions of the packages are being used
- Downgraded the Xamarin.Forms package to see if it could be to do with a bug in the latest package but this does not seem to be the issue.
- A suggested fix that worked for my friend was recreating the project to contain the ASP.NET backend for mobile packages. I have tried this as well.
- I was initially getting the error on my Mac so I thought I would give it a go on my Windows machine. Same thing happens on there too.
I am stumped at the issue. It is failing to build at all. Neither iOS or Android work.
I am hoping someone from here can help.
Thanks,
Divyesh!