Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Namespaces unknown after xaml page code generation when using portable library

$
0
0

Has anyone else been experiencing issues with Unkown namespace errors or missing assembly reference errors after running the customtool to generate c# code for the Xamarin xaml pages?
I'm using visual studio 2015 and a when I reference and use code from a seperate portable library (profile 78) everything is fine untill the custom tool runs. After that any namespace or class from that library is reported by visual studio as unknown or not referenced.. it gets weirder though.. Compiling and running the application works fine. In short the reported errors are wrong. If I remove the auto generated code. Everything is fine again.. except of course the InitializeComponents() call is now unknown as are any named xaml elements.
Even using a blank app, I keep getting the same symptoms

Currently I'm using 1.4.4.6392 but I also recently tried the prerelease but the result were the same.


Viewing all articles
Browse latest Browse all 75885

Trending Articles