| Author |
Message |
ladenedge
Joined: 11 Jan 2012 Posts: 2 Location: United States
|
Posted: Fri Jan 20, 2012 12:52 pm Post subject: Problem with periods in output filenames |
|
|
Hello. I'm having some trouble using SQL Packager with certain filenames in the /name: option - specifically those containing '.' and '-'. Here are some sample outcomes:
- /name:upscript.R46535_to_5.0.441 (doesn't work)
- /name:upscript.R46535_to_5_0_441 (works)
- /name:upscript.R46535_to_5-0-441 (doesn't work)
- /name:upscript-R46535_to_5_0_441 (doesn't work)
- /name:upscript_R46535_to_5_0_441 (works)
Here's the error we're seeing:
| Code: |
Creating package...
Error: Error occurred whilst creating package 'upscript-R46535_to_5_0_441' in 'C:\TeamCity\buildAgent\work\33bce5bddfbed9dd\.': Compilation errors:
c:\Users\jay\AppData\Local\Temp\5\Red Gate\PEed66b3f9-04fe-4b57-8d6a-6ef3e95ff9e4.cs(6,27) : error CS1514: { expected
<repeated several times>
|
We're also using the /scriptsource and /makeexe options, fwiw. Is there a workaround for this issue, or am I possibly doing something wrong? |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6346 Location: Red Gate Software
|
Posted: Mon Jan 23, 2012 12:23 pm Post subject: |
|
|
Sorry to say, you can't have dots in the package filename. The reason for this is Packager uses the filename in the packager template as the .NET type name for the code, and a .NET type can't have dots in it, as they are used as separators.
Sorry for the inconvenience. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group