CrossApp | Cross-Platform Mobile APP Development Engine | Chat library
kandi X-RAY | CrossApp Summary
kandi X-RAY | CrossApp Summary
QQ群: 1群:345156390 2群:70268065 3群:63254880. 官网:源码: github:gitee:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of CrossApp
CrossApp Key Features
CrossApp Examples and Code Snippets
Community Discussions
Trending Discussions on CrossApp
QUESTION
I'm trying to develop a Xamarin forms application and I'm having problems seeing namespaces in an Android class library I've added to the solution. Note, I'm using visual studio 2015 Community Version 14.0.25431.01 Update 3.
My Xamarin forms application solution contains the following projects.
- XFormsApp(Portable)
- XFormsApp.Android
- XFormsApp.IOS
- XFormsApp.UWP
- MyCoreComsLib Preexisting PCL containing communications interfaces/abstractions, and cross platform utilities.
- MyAndroidComsLib Preexisting Android specific implementations of the communications interfaces. This library references MyCoreComsLib. I believe MyAndroidComsLib is an "Android Class Library" project.
Right now I'm just trying to get the android implementation of the Xamarin forms app running so I added the following references between projects.
- from MyAndroidComsLib to MyCoreComsLib
- from XFormsApp(Portable) to MyCoreComsLib
- from XFormsApp.Android to MyCoreComsLib
- from XFormsApp.Android to MyAndroidComsLib
My Problem: When I work in CrossApp.Android I can't see any classes or namespaces from MyCoreComsLib or MyAndroidComsLib. However, when working in XFormsApp(Portable) I can access namespaces / classes in MyCoreComsLib. I've used the MyCoreComsLib and MyAndroidComsLib class libraries in android only c# projects so there aren't any issues with the visibility of classes.
I've done the following in an attempt to solve this issue.
- Made sure MyCoreComsLiband MyAndroidComsLib built in the cross platform app solution.
- Made sure the references to MyCoreComsLiband MyAndroidComsLib show up in the references list under the XFormsApp.Android project.
- Restarted visual studio.
- Created a brand new Xamarin forms app. Added a new Android Class library to the project. Added a reference from the NewFormsApp.Android project to the class library and attempted to access classes in the class library. Note, I wasn't able to see a class an in the new android class library so this leads me to believe this is a limitation with visual studio / Xamarin but I don't understand why this wouldn't be supported.
Thanks Everyone!
...ANSWER
Answered 2017-Sep-15 at 05:42This has been confirmed as a bug in visual studio 2015 https://bugzilla.xamarin.com/show_bug.cgi?id=57991. I was able to resolve this issue by switching to visual studio 2017.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install CrossApp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page