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. Node
  3. 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 10 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 10 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 10 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 10 months ago

Hi,

Hi,

It will be a Xamarin Forms Android app.

BR,

Jones

Jones Abramoff

3 years 10 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin