From 17721b5d032ba75aa10228e03fa73faadd09ee28 Mon Sep 17 00:00:00 2001 From: ClemensFischer Date: Fri, 13 Feb 2026 21:20:35 +0100 Subject: [PATCH] Update README.md --- MapsforgeTiles/README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/MapsforgeTiles/README.md b/MapsforgeTiles/README.md index 71179b33..d03dbde0 100644 --- a/MapsforgeTiles/README.md +++ b/MapsforgeTiles/README.md @@ -29,13 +29,15 @@ map.MapLayer = new MapTileLayer --- -While building MapsforgeWrapper with IKVM's `MavenReference` succeeds, resolving render theme assets -in `mapsforge-themes/src/main/resources/assets` fails at runtime. An alternative approach is to import -Mapsforge by an `IkvmReference` that references a local JAR file with all required dependencies. +While building MapsforgeWrapper with IKVM's `MavenReference` succeeds, running a `RenderThemeFuture` +always fails with a `NoClassDefFoundError` exception for `org.xmlpull.v1.XmlPullParserException`. -This means that [Maven](https://maven.apache.org/) is needed to build the MapsforgeWrapper library. -There is a custom `PreBuild` event in `MapsforgeWrapper.csproj` which executes the command +An alternative approach is to import Mapsforge classes by an `IkvmReference` that references +a local JAR file with all required dependencies. This JAR is built from `pom.xml` in the project +directory, by a custom `PreBuild` event in `MapsforgeWrapper.csproj` which executes the command ``` mvn package ``` -in the project file's directory. \ No newline at end of file + +So in order to build one of the MapsforgeTiles libraries, a [Maven](https://maven.apache.org/) +installation is required.