error with multiple extensions in package name using api

Packages and compresses schema and contents of SQL Server databases

Moderators: JonathanWatts, Chris Auckland, David Atkinson, david connell, Anu Deshpande, Michelle Taylor, james.billings, Marianne

error with multiple extensions in package name using api

Postby glaseur » Tue Apr 12, 2011 3:44 pm

I Get an error from the PackagerEngine.Package method when using a package name with multiple extensions, Ex. "Upgrade_To_1.1". Also where can I find the list of all of the PackagerEngine properties (Ex. PACKAGE_DATABASE_NAME) and their correct values?
glaseur
 
Posts: 1
Joined: Tue Apr 12, 2011 2:50 pm

Postby Brian Donahue » Wed Apr 13, 2011 1:40 pm

Hello,

SQL Packager does not support building executables with a dot in the name (other than the extension). The reason for this is it uses the output file name as the namespace of the assembly, and .NET namespaces can't have dots in them.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SQL Packager 6

Who is online

Users browsing this forum: No registered users and 0 guests