Thursday 10 November 2022

SQL Server Spatial Data type in Console Application using C#

This is the lates issue I have come accross with. The Microsoft.SqlServer.Types spatial library doens't seem to playing well in Console and Desktop C# applications - they do work ok in Web Applications though.


My workaround is to use the 10.50.1600.1 version of the dll.