<div dir="ltr">So I've compiled both mapscript 7 and 6.4 against the sdk from gisinternals on windows. <div><br></div><div>cmake .. -DWITH_POSTGIS=0 -DWITH_CSHARP=1 -DCMAKE_CURRENT_BINARY_DIR="C:\mapserver\swigwin-1.3.40" -DREGEX_DIR="C:\mapserver\regex-0.12" -DCMAKE_PREFIX_PATH="C:\mapserver\SDK\release-1800\bin;C:\mapserver\SDK\release-1800\include;C:\mapserver\SDK\release-1800\lib;c:\mapserver\regex-0.12;C:\mapserver\swigwin-1.3.40"<br></div><div><br></div><div>Then I get the error when trying to use the mapscript library in .net</div><div>Unable to load DLL 'csharpmapscript'<br></div><div><br></div><div>If i load up the dll it's looking for the import 'csharpmapscript' which doesn't exist anywhere.</div><div><br></div><div>So I tried renaming mapscript.dll to 'csharpmapscript.dll' and that gets past that point but throws an assert error.</div><div><br></div><div>Any ideas what I might be missing here?</div></div>