Deploying .NET clients

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

If your end users will be developing .NET applications, then consider integrating the SQL Anywhere .NET tools into Microsoft Visual Studio. On the client computer, you must do the following.

  • Ensure Visual Studio is not running.

  • Run install-dir\Assembly\v2\SetupVSPackage.exe /install.

If you want to create your own installation, this section describes the files to deploy to the end users.

Each .NET client computer must have the following:

  • A working .NET 2.0 (or later) installation   Microsoft .NET assemblies and instructions for their redistribution are available from Microsoft Corporation. They are not described in detail here.

  • The SQL Anywhere .NET Data Provider   The following table shows the files needed for a working SQL Anywhere .NET data provider. These files should be placed in a single directory.

    The SQL Anywhere installation places the Windows assembly for the .NET Framework in the Assembly\v2 subdirectory of your SQL Anywhere installation directory. The other files are placed in the operating-system subdirectory of your SQL Anywhere installation directory (for example, bin32 or bin64).

    The SQL Anywhere installation places the Windows Mobile assemblies for the .NET Compact Framework in ce\Assembly\v2. The other file is placed in the Windows Mobile subdirectory of your SQL Anywhere installation directory (for example, ce\arm.50).

Description Windows Windows Mobile
.NET driver file iAnywhere.Data.SQLAnywhere.dll iAnywhere.Data.SQLAnywhere.dll
.NET Global Assembly Cache N/A iAnywhere.Data.SQLAnywhere.gac
Language-resource library dblg[xx]11.dll dblg[xx]11.dll
Connect window dbcon11.dll N/A

The table above shows files with the designation [xx]. There are several message files each supporting a different language. If you want to install support for different languages, you have to add the resource files for these languages.

For more information about deploying the SQL Anywhere .NET provider, see Deploying the SQL Anywhere .NET Data Provider.