+
Action required to load native assemblies
+
+ To deploy an application that uses spatial data types to a machine that does not have 'System CLR Types for SQL Server' installed you also need to deploy the native assembly SqlServerSpatial110.dll. Both x86 (32 bit) and x64 (64 bit) versions of this assembly have been added to your project under the SqlServerTypes\x86 and SqlServerTypes\x64 subdirectories. The native assembly msvcr100.dll is also included in case the C++ runtime is not installed.
+
+
+ You need to add code to load the correct one of these assemblies at runtime (depending on the current architecture).
+
+
ASP.NET applications
+
+ For ASP.NET applications, add the following line of code to the Application_Start method in Global.asax.cs:
+
SqlServerTypes.Utilities.LoadNativeAssemblies(Server.MapPath("~/bin"));
+
+
Desktop applications
+
+ For desktop applications, add the following line of code to run before any spatial operations are performed:
+
SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);
+
+
+
+
\ No newline at end of file
diff --git a/ScheMe/bin/EnvDTE.dll b/ScheMe/bin/EnvDTE.dll
new file mode 100644
index 0000000..8885f5f
Binary files /dev/null and b/ScheMe/bin/EnvDTE.dll differ
diff --git a/ScheMe/bin/EnvDTE80.dll b/ScheMe/bin/EnvDTE80.dll
new file mode 100644
index 0000000..dc6fae3
Binary files /dev/null and b/ScheMe/bin/EnvDTE80.dll differ
diff --git a/ScheMe/bin/Microsoft.MSXML.dll b/ScheMe/bin/Microsoft.MSXML.dll
new file mode 100644
index 0000000..5a68eb8
Binary files /dev/null and b/ScheMe/bin/Microsoft.MSXML.dll differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.Common.dll b/ScheMe/bin/Microsoft.ReportViewer.Common.dll
index 3e2d91e..07b51be 100644
Binary files a/ScheMe/bin/Microsoft.ReportViewer.Common.dll and b/ScheMe/bin/Microsoft.ReportViewer.Common.dll differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.DataVisualization.DLL b/ScheMe/bin/Microsoft.ReportViewer.DataVisualization.DLL
new file mode 100644
index 0000000..503675f
Binary files /dev/null and b/ScheMe/bin/Microsoft.ReportViewer.DataVisualization.DLL differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.Design.DLL b/ScheMe/bin/Microsoft.ReportViewer.Design.DLL
new file mode 100644
index 0000000..7107a48
Binary files /dev/null and b/ScheMe/bin/Microsoft.ReportViewer.Design.DLL differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.ProcessingObjectModel.DLL b/ScheMe/bin/Microsoft.ReportViewer.ProcessingObjectModel.DLL
index cb2f1e0..7f31e82 100644
Binary files a/ScheMe/bin/Microsoft.ReportViewer.ProcessingObjectModel.DLL and b/ScheMe/bin/Microsoft.ReportViewer.ProcessingObjectModel.DLL differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.WebDesign.DLL b/ScheMe/bin/Microsoft.ReportViewer.WebDesign.DLL
new file mode 100644
index 0000000..f50b2b2
Binary files /dev/null and b/ScheMe/bin/Microsoft.ReportViewer.WebDesign.DLL differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.WebForms.dll b/ScheMe/bin/Microsoft.ReportViewer.WebForms.dll
index eb64012..0456280 100644
Binary files a/ScheMe/bin/Microsoft.ReportViewer.WebForms.dll and b/ScheMe/bin/Microsoft.ReportViewer.WebForms.dll differ
diff --git a/ScheMe/bin/Microsoft.ReportViewer.WinForms.DLL b/ScheMe/bin/Microsoft.ReportViewer.WinForms.DLL
new file mode 100644
index 0000000..e86ff70
Binary files /dev/null and b/ScheMe/bin/Microsoft.ReportViewer.WinForms.DLL differ
diff --git a/ScheMe/bin/Microsoft.SqlServer.Types.dll b/ScheMe/bin/Microsoft.SqlServer.Types.dll
new file mode 100644
index 0000000..7843044
Binary files /dev/null and b/ScheMe/bin/Microsoft.SqlServer.Types.dll differ
diff --git a/ScheMe/bin/Microsoft.VisualStudio.ComponentModelHost.dll b/ScheMe/bin/Microsoft.VisualStudio.ComponentModelHost.dll
new file mode 100644
index 0000000..b06e810
Binary files /dev/null and b/ScheMe/bin/Microsoft.VisualStudio.ComponentModelHost.dll differ
diff --git a/ScheMe/bin/Microsoft.VisualStudio.Data.Core.dll b/ScheMe/bin/Microsoft.VisualStudio.Data.Core.dll
new file mode 100644
index 0000000..c58262e
Binary files /dev/null and b/ScheMe/bin/Microsoft.VisualStudio.Data.Core.dll differ
diff --git a/ScheMe/bin/Microsoft.VisualStudio.Data.Core.xml b/ScheMe/bin/Microsoft.VisualStudio.Data.Core.xml
new file mode 100644
index 0000000..3f00fc9
--- /dev/null
+++ b/ScheMe/bin/Microsoft.VisualStudio.Data.Core.xml
@@ -0,0 +1,510 @@
+
+
+
Action required to load native assemblies
+
+ To deploy an application that uses spatial data types to a machine that does not have 'System CLR Types for SQL Server' installed you also need to deploy the native assembly SqlServerSpatial110.dll. Both x86 (32 bit) and x64 (64 bit) versions of this assembly have been added to your project under the SqlServerTypes\x86 and SqlServerTypes\x64 subdirectories. The native assembly msvcr100.dll is also included in case the C++ runtime is not installed.
+
+
+ You need to add code to load the correct one of these assemblies at runtime (depending on the current architecture).
+
+
ASP.NET applications
+
+ For ASP.NET applications, add the following line of code to the Application_Start method in Global.asax.cs:
+
SqlServerTypes.Utilities.LoadNativeAssemblies(Server.MapPath("~/bin"));
+
+
Desktop applications
+
+ For desktop applications, add the following line of code to run before any spatial operations are performed:
+
SqlServerTypes.Utilities.LoadNativeAssemblies(AppDomain.CurrentDomain.BaseDirectory);
+
+
+
+
\ No newline at end of file
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/lib/net20/Microsoft.SqlServer.Types.dll b/packages/Microsoft.SqlServer.Types.11.0.2/lib/net20/Microsoft.SqlServer.Types.dll
new file mode 100644
index 0000000..7843044
Binary files /dev/null and b/packages/Microsoft.SqlServer.Types.11.0.2/lib/net20/Microsoft.SqlServer.Types.dll differ
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/SqlServerSpatial110.dll b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/SqlServerSpatial110.dll
new file mode 100644
index 0000000..8bb3895
Binary files /dev/null and b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/SqlServerSpatial110.dll differ
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/msvcr100.dll b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/msvcr100.dll
new file mode 100644
index 0000000..0318fb0
Binary files /dev/null and b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x64/msvcr100.dll differ
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/SqlServerSpatial110.dll b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/SqlServerSpatial110.dll
new file mode 100644
index 0000000..42034fe
Binary files /dev/null and b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/SqlServerSpatial110.dll differ
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/msvcr100.dll b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/msvcr100.dll
new file mode 100644
index 0000000..fd91c89
Binary files /dev/null and b/packages/Microsoft.SqlServer.Types.11.0.2/nativeBinaries/x86/msvcr100.dll differ
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/tools/install.ps1 b/packages/Microsoft.SqlServer.Types.11.0.2/tools/install.ps1
new file mode 100644
index 0000000..50b78a7
--- /dev/null
+++ b/packages/Microsoft.SqlServer.Types.11.0.2/tools/install.ps1
@@ -0,0 +1,52 @@
+param($installPath, $toolsPath, $package, $project)
+
+$packagePath = (New-Object system.IO.DirectoryInfo $toolsPath).Parent.FullName
+$cppBinaryPathx86 = Join-Path $packagePath "nativeBinaries\x86\msvcr100.dll"
+$cppBinaryPathx64 = Join-Path $packagePath "nativeBinaries\x64\msvcr100.dll"
+$sqlBinaryPathx86 = Join-Path $packagePath "nativeBinaries\x86\SqlServerSpatial110.dll"
+$sqlBinaryPathx64 = Join-Path $packagePath "nativeBinaries\x64\SqlServerSpatial110.dll"
+
+$sqlServerTypes = $project.ProjectItems.Item("SqlServerTypes")
+
+$folderx86 = $sqlServerTypes.ProjectItems | where Name -eq "x86"
+if (!$folderx86)
+{
+ $folderx86 = $sqlServerTypes.ProjectItems.AddFolder("x86")
+}
+
+$folderx64 = $sqlServerTypes.ProjectItems | where Name -eq "x64"
+if (!$folderx64)
+{
+ $folderx64 = $sqlServerTypes.ProjectItems.AddFolder("x64")
+}
+
+$cppLinkx86 = $folderx86.ProjectItems | where Name -eq "msvcr100.dll"
+if (!$cppLinkx86)
+{
+ $cppLinkx86 = $folderx86.ProjectItems.AddFromFile($cppBinaryPathx86)
+ $cppLinkx86.Properties.Item("CopyToOutputDirectory").Value = 2
+}
+
+$sqlLinkx86 = $folderx86.ProjectItems | where Name -eq "SqlServerSpatial110.dll"
+if (!$sqlLinkx86)
+{
+ $sqlLinkx86 = $folderx86.ProjectItems.AddFromFile($sqlBinaryPathx86)
+ $sqlLinkx86.Properties.Item("CopyToOutputDirectory").Value = 2
+}
+
+$cppLinkx64 = $folderx64.ProjectItems | where Name -eq "msvcr100.dll"
+if (!$cppLinkx64)
+{
+ $cppLinkx64 = $folderx64.ProjectItems.AddFromFile($cppBinaryPathx64)
+ $cppLinkx64.Properties.Item("CopyToOutputDirectory").Value = 2
+}
+
+$sqlLinkx64 = $folderx64.ProjectItems | where Name -eq "SqlServerSpatial110.dll"
+if (!$sqlLinkx64)
+{
+ $sqlLinkx64 = $folderx64.ProjectItems.AddFromFile($sqlBinaryPathx64)
+ $sqlLinkx64.Properties.Item("CopyToOutputDirectory").Value = 2
+}
+
+$readmefile = Join-Path (Split-Path $project.FileName) "SqlServerTypes\readme.htm"
+$dte.ItemOperations.Navigate($readmefile)
\ No newline at end of file
diff --git a/packages/Microsoft.SqlServer.Types.11.0.2/tools/uninstall.ps1 b/packages/Microsoft.SqlServer.Types.11.0.2/tools/uninstall.ps1
new file mode 100644
index 0000000..45c6e25
--- /dev/null
+++ b/packages/Microsoft.SqlServer.Types.11.0.2/tools/uninstall.ps1
@@ -0,0 +1,52 @@
+param($installPath, $toolsPath, $package, $project)
+
+$sqlServerTypes = $project.ProjectItems | where Name -eq "SqlServerTypes"
+if($sqlServerTypes)
+{
+ $folderx86 = $sqlServerTypes.ProjectItems | where Name -eq "x86"
+ if ($folderx86)
+ {
+ $cppFilex86 = $folderx86.ProjectItems | where Name -eq "msvcr100.dll"
+ if($cppFilex86)
+ {
+ $cppFilex86.Delete();
+ }
+
+ $sqlFilex86 = $folderx86.ProjectItems | where Name -eq "SqlServerSpatial110.dll"
+ if($sqlFilex86)
+ {
+ $sqlFilex86.Delete();
+ }
+
+ if($folderx86.ProjectItems.Count -eq 0)
+ {
+ $folderx86.Delete()
+ }
+ }
+
+ $folderx64 = $sqlServerTypes.ProjectItems | where Name -eq "x64"
+ if ($folderx64)
+ {
+ $cppFilex64 = $folderx64.ProjectItems | where Name -eq "msvcr100.dll"
+ if($cppFilex64)
+ {
+ $cppFilex64.Delete();
+ }
+
+ $sqlFilex64 = $folderx64.ProjectItems | where Name -eq "SqlServerSpatial110.dll"
+ if($sqlFilex64)
+ {
+ $sqlFilex64.Delete();
+ }
+
+ if($folderx64.ProjectItems.Count -eq 0)
+ {
+ $folderx64.Delete()
+ }
+ }
+
+ if($sqlServerTypes.ProjectItems.Count -eq 0)
+ {
+ $sqlServerTypes.Delete()
+ }
+}
\ No newline at end of file
diff --git a/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8.nupkg b/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8.nupkg
deleted file mode 100644
index 1323777..0000000
Binary files a/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8.nupkg and /dev/null differ
diff --git a/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/lib/net40/Microsoft.SqlServer.Types.dll b/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/lib/net40/Microsoft.SqlServer.Types.dll
deleted file mode 100644
index 25f9092..0000000
Binary files a/packages/Microsoft.SqlServer.Types.Unofficial.12.0.2000.8/lib/net40/Microsoft.SqlServer.Types.dll and /dev/null differ