sibartlett / Geo

A geospatial library for .NET
https://www.nuget.org/packages/Geo/
GNU Lesser General Public License v3.0
179 stars 39 forks source link

Nuget install doesn't work for Visual Studio 2012 MVC 4 Project #8

Closed sparra1000 closed 10 years ago

sparra1000 commented 10 years ago

This is the error using package manager.

Successfully installed 'Geo 0.11.3'. Successfully uninstalled 'Geo 0.11.3'. Install failed. Rolling back... Could not install package 'Geo 0.11.3'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0', but the package does not contain any assembly references that are compatible with that framework. For more information, contact the package author.

It doesn't work for Web API projects either. I tried changing the framework target to 4.5 and 4.5.1 and those don't work.

sibartlett commented 10 years ago

I just tried creating a new MVC 4 (.NET 4) project in Visual Studio 2012 Update 4, and installed Geo successfully. Are you using the latest version of Visual Studio 2012 and NuGet?

sparra1000 commented 10 years ago

Update 4 now it works. Thanks.