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. Forums
  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 7 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 7 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 7 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 7 months ago

Hi,

Hi,

It will be a Xamarin Forms Android app.

BR,

Jones

Jones Abramoff

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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin