Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Some Gurux Nugets Are Not Compatible With Xamarin Android Project In VS2022

Some Gurux nugets are not compatible with Xamarin Android project in VS2022

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Jones Abramoff , 26 October, 2022
Forums
General discussion

I tried to add GuruX nugets into a blank Xamarin project created with Visual Studio 2022 but some of them couldn't be added into the Android project because of compatibility issues, like Gurux.DLMS, Gurux.Service, Gurux.SMS and others.

Example of error:
Severity Code Description Project File Line Suppression State
Error NU1202 Package Gurux.DLMS 9.0.2210.301 is not compatible with monoandroid12.0 (MonoAndroid,Version=v12.0). Package Gurux.DLMS 9.0.2210.301 supports:
- net46 (.NETFramework,Version=v4.6)
- net472 (.NETFramework,Version=v4.7.2)
- net6.0 (.NETCoreApp,Version=v6.0)
- net6.0-windows7.0 (.NETCoreApp,Version=v6.0)
- netcoreapp3.1 (.NETCoreApp,Version=v3.1) GuruXTest.Android C:\GuruXTest\GuruXTest.Android\GuruXTest.Android.csproj 1

I was able to add 9.0.2201.2801 GuruX.DLMS nuget but not more recent versions.

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi Jones,

Hi Jones,

Nuget packet manager doesn't work. Get the latest version from Gurux.DLMS. Then add UWP project for your project and add reference.

I don't think that anyone is using Gurux.Service within Android and I don't know if it's possible to use MSQSL or MySQL in Android.

Gurux.SMS doesn't work with phones because Microsoft hasn't added support for serial ports, but it should work in Linux.

BR,
Mikko

Jones Abramoff

3 years 9 months ago

Hi Mikko,

Hi Mikko,

I am using only Android so why should I add a UWP project?

And about Xamarin Android, how am I supposed to do it?
Only up to 9.0.2201.2801 GuruX.DLMS NuGet I was able to add.

BR,

Jones

Profile picture for user Kurumi

Kurumi

3 years 9 months ago

Hi,

Hi,

If I remember right, there were some problems with .Net core and Android projects and for that reason UWP project was used with some Android projects. I'll check if is this still the issue with .Net code 6 or if was it only with .Net core 5.

Is your project Mobile App, Android App or .Net MAUI?

BR,
Mikko

Jones Abramoff

3 years 9 months ago

Hi,

Hi,

It will be a Xamarin Forms Android app.

BR,

Jones

Jones Abramoff

3 years 8 months ago

I was able to install Gurux

I was able to install Gurux.DLMS nuget version 9.0.2211.702 into my Xamarin project.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • CTKNhZElptjSlOrpkXl
  • YCbccqfLGRMnlCWoJhXP
  • Malcolmactig
  • mhliang
  • Kevinmug
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin