.net - c# System.Data.Entity.Spatial - does it require SqlServerSpatial.dll? (Azure WebJobs) -


have project ef6.0 models using dbgeometry types. on dev system sql client tools installed, works fine. deployed azureweb job, can't expect can put files in system folders.

when run on vm in our network, getting unable load dll 'sqlserverspatial.dll' exceptions. line that's generating this: var line = dbgeometry.fromtext(wkt);

i tried installing sqlservertypes nuget package sqlservertypes.utilities.loadnativeassemblies(appdomain.currentdomain.basedirectory); , making dlls copy always in sqlservertypes folder. deploy, copied entire debug folder across network - files guaranteed there. same results.

i removed sqlservertypes , ran fine on system still (likely due sql client tools), , no change.

why application using \packages\entityframework.6.1.3\lib\net45\entityframework.dll looking sqlservertypes?

thanks


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -