.NET client deployment

The simplest way to deploy .NET assemblies is to use the Deployment Wizard. For more information, see The Deployment Wizard.

To complete the installation of the .NET assemblies on the client computer, you must do the following.

Ensure Visual Studio is not running.

Use the SetupVSPackage tool to install the .NET assemblies. SetupVSPackage requires Administrator privilege for Windows Vista
and later systems. If you are running a Command Prompt, ensure it has Administrator privilege.

For .NET 2.0/3.x, run %SQLANY16%\Assembly\v2\SetupVSPackage.exe /install.

For .NET 4.x, run %SQLANY16%\Assembly\v4\SetupVSPackage.exe /install.

By default, SetupVSPackage will use SQL Anywhere registry settings to locate the .NET assemblies. You can specify the location
of the SQL Anywhere installation by using the salocation option.

The SetupVSPackage application updates the Global Assembly Cache and the Windows Microsoft.NET machine.config file. If SQL Server 2008 or later is installed on the system, SetupVSPackage also installs two mapping files called MSSqlToSA.xml and SAToMSSql10.xml to the SQL Server DTS\MappingFiles folder.

The SetupVSPackage application copies SSDLToSA16.tt to the Visual Studio 2010 directory. It is used for generating database schema DDL for Entity Data Models. The user should
set the DDL Generation property to this file when generating database schema DDL for Entity Data Models.

To create your own installation, this section describes the files to deploy to the end users. There are several message files
each supporting a different language. To install support for different languages, you have to include the resource files for
these languages. Replace [LL] with the language code (for example, en, de, jp, and so on).

Each .NET client computer must have the following:

A working .NET 2.0, 3.0, 3.5, 4.0, or 4.5 installation
Microsoft .NET assemblies and instructions for their redistribution are available from Microsoft Corporation. They are
not described in detail here.

SQL Anywhere provider for .NET Framework 2.0/3.0
The SQL Anywhere installation places the Windows assemblies for the .NET Framework versions 2.0 and 3.0 in the Assembly\V2 subdirectory of your SQL Anywhere installation directory. The other files are placed in the operating-system binaries directory
of your SQL Anywhere installation directory (for example, bin32 and bin64). The following files are required.

SQL Anywhere provider for .NET Framework 3.5
The SQL Anywhere installation places the Windows assemblies for the .NET Framework version 3.5 in the Assembly\V3.5 subdirectory of your SQL Anywhere installation directory. The other files are placed in the operating-system binaries directory
of your SQL Anywhere installation directory (for example, bin32 and bin64). The following files are required.

SQL Anywhere provider for .NET Framework 4.0/4.5
The SQL Anywhere installation places the Windows assemblies for the .NET Framework versions 4.0 and 4.5 in the Assembly\V4 subdirectory of your SQL Anywhere installation directory. The other files are placed in the operating-system binaries directory
of your SQL Anywhere installation directory (for example, bin32 and bin64). The following files are required.