Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Can´t add new resource using F# in Android project

Hello everybody!

I'm facing a problem when adding a new resource or layout AXML file to a Xamarin.Android/F# project (new or preexistant): Visual Studio gives me a msgbox with "Object reference not set to instance of an object" and if I save and close the solution, next time I open it it's corrupted, losing all files' references. Curiously this not happen in Android C# projects. Is it a bug or other problem? I can circumvent the problem with the "trick" of creating layouts dynamically, but I know it's not to be this way...

My setup:
Microsoft Visual Studio Community 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Visual C# 2015 00322-20000-00000-AA208
Visual F# 2015 00322-20000-00000-AA208
Xamarin 4.4.0.34 (3f99c5a)
Xamarin.Android 7.2.0.7 (b16fb82)

Tagged:
Sign In or Register to comment.