bertt / mapbox-vector-tile-cs

A .NET library for decoding a Mapbox vector tile
MIT License
74 stars 16 forks source link

Not supported in a UWP application #5

Closed ImCarrot closed 7 years ago

ImCarrot commented 7 years ago

I tried to install in my UWP application and the nugget installation failed. The below is the log: `PM> Install-Package mapbox-vector-tile Restoring packages for 'VectorMaps'. Restoring packages for c:\users\ceinfo\documents\visual studio 2015\Projects\VectorMaps\VectorMaps\project.json... GET https://api.nuget.org/v3-flatcontainer/mapbox-vector-tile/index.json OK https://api.nuget.org/v3-flatcontainer/mapbox-vector-tile/index.json 1032ms GET https://api.nuget.org/v3-flatcontainer/mapbox-vector-tile/3.1.1/mapbox-vector-tile.3.1.1.nupkg OK https://api.nuget.org/v3-flatcontainer/mapbox-vector-tile/3.1.1/mapbox-vector-tile.3.1.1.nupkg 1194ms Installing mapbox-vector-tile 3.1.1. Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0. At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0. At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-arm). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-arm). At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-arm-aot). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-arm-aot). At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-x64). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x64). At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-x64-aot). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x64-aot). At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-x86). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x86). At line:1 char:1

Install-Package : mapbox-vector-tile 3.1.1 is not compatible with UAP,Version=v10.0 (win10-x86-aot). At line:1 char:1

Install-Package : Some packages are not compatible with UAP,Version=v10.0 (win10-x86-aot). At line:1 char:1

Package restore failed for 'VectorMaps'. Install-Package : Package restore failed. Rolling back package changes for 'VectorMaps'. At line:1 char:1

bertt commented 7 years ago

thanks, I can reproduce this issue. Shall have a look how to fix it. As a workaround for now you can download the source and change the build target.

bertt commented 7 years ago

Should work now with new NuGet package mapbox-vector-tile 3.1.3

ImCarrot commented 7 years ago

Thank for solving the issue, It works now. Can you please help me on how to use your nugget to provide vector Tiles to my Bing Map control in UWP apps.