Edit reference failure

ChrisChris USMember

Hi,

I have an existing C# code and just started working with Xamarin for Android. I just changed the Gui and tried to run the Code but got the following error: Could not find Namespace...
but i used the using directive and I have an Android Projekt and an .net 4.0 Projekt in one Projectfolder. But the Android Project can't use the .net Project. If i try to Add the reference i get the following error: incompatible Target Framework: .NETFramework, Version V4.0)
I can not select the Project that i need. Does anybody know how to solve the Problem?
Thanks in advance.
Chris

Posts

  • JeffreyStedfastJeffreyStedfast USXamarin Team Xamurai

    You need to use an Android Library Project instead of a .NET 4 Library project.

    The full .NET 4.0 profile is not supported on Android, only a subset is supported (which is what the Android Library Project gives you).

  • ChrisChris USMember

    Thank you i will try.

  • ShantimohanElchuriShantimohanElchuri USMember ✭✭✭✭✭

    Jeff, Thanks. Your reply helped me.

Sign In or Register to comment.