Hi all.
I have a Visual Studio 2013 'sandbox' project for testing purpose. My target Framework is '.NET Framework 4'. I have downloaded via Nuget the following packages (latest realeases): NetTopologySuite (1.13.3), NetTopologySuite (1.13.3) and GeoAPI(1.7.3).
As I have mentioned, my code is really simple. It's just a console application with the following code in main method:
class Program
{
static void Main(string[] args)
{
NetTopologySuite.Geometries.GeometryFactory factory = new NetTopologySuite.Geometries.GeometryFactory();
NetTopologySuite.IO.ShapefileReader shpReader = new NetTopologySuite.IO.ShapefileReader(@"C:\blabla\Desktop\TEST_040009642014.shp", factory);
GeoAPI.Geometries.IGeometryCollection geometries = shpReader.ReadAll();
}
}
It compiles well but I get the following exception when trying to run the second sentence (ShapeFileReader constructor):
No se puede cargar el archivo o ensamblado 'NetTopologySuite.IO.ShapeFile, Version=1.13.3.0, Culture=neutral, PublicKeyToken=f580a05016ebada1' ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.
Which in english is:
Could not load file or assembly 'NetTopologySuite.IO.ShapeFile, Version=1.13.3.0, Culture=neutral, PublicKeyToken=f580a05016ebada1' or one of its dependencies. The system cannot find the file specified.
As far as I know, there is no NetTopologySuite.IO.ShapeFile.dll and I am going crazy to figure out the problem. Any clue?
Thanks in advance.