This all new to me, so bear with me...
I\'m working on a Visual Studio project; it\'s a web service that returns some data.
I\'ve just tried to make a particula
When you install the Microsoft.SqlServer.Types
nuget package, this should create a new folder in root:
\SqlServerTypes
|_x64
|_x86
which should contain the appropriate dll's. It's also auto setup to copy if newer.
Then, make sure your app loads the appropriate assembly:
SqlServerTypes.Utilities.LoadNativeAssemblies(Server.MapPath("~/bin"));
SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);
Not sure if this works with .NET Core though.