jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

GeoLocator, Battery and Contacts cannot be built for Release, Debug build has no issues #352

Closed rarera closed 7 years ago

rarera commented 7 years ago

Bug

Expected Behavior

Build succeeded

Actual Behavior

CS0234 The type or Namespace Battery does not exist in the Namespace Plugin CS0234 The type or Namespace Geolocator does not exist in the Namespace Plugin CS0234 The type or Namespace Contacts does not exist in the Namespace Plugin

Steps to reproduce the Behavior

Create Android project Add the listed plugin nugets Use the nugets in code Build for debug -> success Build for release -> fails

jamesmontemagno commented 7 years ago

Are you sure your nugets are installed in all projects? What are your linker settings set to?

I have never had any issue and released several apps to the store without any issues.

rarera commented 7 years ago

Hi James,

I have one Android project and several unrelated PCLs for some business logic.

I am using the plugins just in the Android project, which has all the nugets in the versions I listed.

If it is something about the linker. Which linker settings do you recommend? I have already tried several options without success.

Thanks,

Ramin

Sent from Outlookhttp://aka.ms/weboutlook


From: James Montemagno notifications@github.com Sent: Thursday, December 29, 2016 6:05:25 PM To: jamesmontemagno/Xamarin.Plugins Cc: rarera; Author Subject: Re: [jamesmontemagno/Xamarin.Plugins] GeoLocator, Battery and Contacts cannot be built for Release, Debug build has no issues (#352)

Are you sure your nugets are installed in all projects? What are your linker settings set to?

I have never had any issue and released several apps to the store without any issues.

- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/jamesmontemagno/Xamarin.Plugins/issues/352#issuecomment-269660367, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANq6ReXDyqWZmiJWqXzaVpxrwvCZAv0wks5rM-hVgaJpZM4LWgi7.