Comments (6)
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.
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.
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.
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.
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.
@blackboxlogic thanks so much for this!
from osmapiclient.
Related Issues (20)
- Add the 'User.Preferences' calls HOT 2
- Add Documentation
- Add Factories and intefaces HOT 9
- POST Comment to a Note requires Auth HOT 1
- Improve tests HOT 12
- Release an NuGet version mismatch HOT 1
- Add request address to response logging HOT 8
- Support Other Endpoints (Overpass-Turbo, TagInfo) HOT 37
- Default xml deserialization potentially unsafe HOT 2
- Constraints for Bounds.[Min|Max]Latitude in Validate are wrong HOT 4
- Allow using OAuth 2 HOT 5
- Broken parameters in URL request when change CultureInfo HOT 3
- have an example hot to verify that an adress (city, zip, street, but NOT name) exists? HOT 3
- Which URL to use for production HOT 16
- More Changset Validation HOT 1
- Can't install OsmApiClient in nuget - VS2022 HOT 2
- Switch to api.openstreetmap.org API host
- Archive this repo HOT 1
- Add the 'Notes' calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osmapiclient.