Coder Social home page Coder Social logo

Comments (6)

HarelM avatar HarelM commented on August 22, 2024

The package works, I use it in production.
I have no clue what your setup is, but you need to make sure you are using dotnet core or latest releases of .net...

from osmapiclient.

blackboxlogic avatar blackboxlogic commented on August 22, 2024

@stephbuon

Could you try version 0.0.7 and comment here if it is the same result.

Try checking out @HarelM 's project and see if that builds on your computer. I don't know if this project is complicated and could fail for other reasons https://github.com/IsraelHikingMap/Site

Is your project in a public repo that I could check out to test? (I didn't see a "unity map test" project in your GitHub).

Try the normal dance visual studio sometimes needs: clean/rebuild/close/open.

from osmapiclient.

stephbuon avatar stephbuon commented on August 22, 2024

Thank you to both of you for your advice. I am using Visual Studio 2022 and am using .NET 6.0 for long term support. Should I try .NET 7.0 instead?

I tried OsmApiClient 0.0.7 and have the same result.

I tried: Build/Clean Solution and Build/Rebuild Solution but still have the same result.

I put the code on a public repository. If you have the time, I would be very grateful for your opinion on why there might be a problem.

Repository: https://github.com/stephbuon/unity-mapping

C# code that uses OsmApiClient: https://github.com/stephbuon/unity-mapping/blob/main/unity_map_test/Program.cs (You will see there's not much there)

Thanks again!

from osmapiclient.

HarelM avatar HarelM commented on August 22, 2024

This is a wrong using statement...
While I get that the docs aren't great, but still...
Did you try looking at the tests to understand how to use this library?
Closing this issue now.

from osmapiclient.

blackboxlogic avatar blackboxlogic commented on August 22, 2024

To be fair, this stumped me for a bit until I looked at one of my other projects. Our namespace doesn't match the library name. I'll add that to the readme.
using OsmSharp.IO.API

from osmapiclient.

stephbuon avatar stephbuon commented on August 22, 2024

@blackboxlogic thanks so much for this!

from osmapiclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.