SQL Packager

Latest version: 6.4

SQL Packager

Knowledge Base

Creating executables that use the .NET 2.0 runtime (version 5)

Category: How do I?
Date: 05 Jun 2009
Product: SQL Packager
Versions: 4,5
Fix versions: SQL Packager 5.4 and up compile against .NET Framework 2.0.

SQL Packager executable output is compiled to target specific versions of the .NET Framework. You may want to change the versions that the Packager executables are targeted towards.

SQL Packager has been built on .NET Framework 1.1, so by default it will create executables that run on .NET 1.1. Note that this does not mean .NET 1.1 is required explicitly because the package executable will run error free on .NET Framework 2.0.

If .NET Framework 2.0-targeted assemblies are a requirement, it is possible to output a package executable as a C# project, then open the project with Visual Studio 2005 and use the conversion wizard to convert the project to .NET 2.0.

If you want each and every package output to run on .NET 2.0 without having to load and convert it, this is not possible. Although SQL Packager has a 'template' project that it uses to create the package output, the template cannot be converted to a Visual Studio 2005 project. Once this has been done, the resource files which are produced by SQL Packager will be in .NET 1.1 format and can't be understood by .NET 2.0.

Any modifications to a package involving changing the .NET runtime version can only be done against the packager output project and not the packager code template project.

Document ID: KB200707000077 Keywords: Packager, Framework, 2005, C#, project, code, template, convert

Was this article helpful?

Search support
Forums
Visit the SQL Packager forum.

SQL Packager

all SQL products

all products