| Author |
Message |
Janna.Kelly
Joined: 25 Sep 2008 Posts: 2
|
Posted: Wed May 19, 2010 7:17 pm Post subject: Command Line Does Not Create Valid CHM |
|
|
I've created a sqldoc project using the UI and am now trying to use the command line version to run it from within my build script.
SQLDoc builds a 1KB CHM file that is not valid. If I generate from within the UI, I get an 87 KB CHM file that is valid and openable.
Here's the command line I'm using:
| Code: |
| "c:\program files\red gate\sql doc2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /filetype:chm /out:MyDatabase.chm /force |
Any ideas or solutions would be welcome.
Thank you! |
|
| Back to top |
|
 |
Janna.Kelly
Joined: 25 Sep 2008 Posts: 2
|
Posted: Wed May 19, 2010 7:26 pm Post subject: Command Line Correction |
|
|
Sorry, the command line above should have read:
| Code: |
| "c:\program files\red gate\sql doc 2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /filetype:chm /out:MyDatabase.chm /force |
|
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
Posted: Fri May 21, 2010 12:53 pm Post subject: |
|
|
Hi Janna,
Many thanks for your post. I have replicated this here and have raised a bug for it in our internal tracking systems under reference SDOC-1424. Hopefully this will be fixed shortly for the cumultive patch, however I will post on here when the fix is made.
Pete _________________ Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569 |
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
Posted: Fri May 28, 2010 11:54 am Post subject: |
|
|
Hi Janna,
Looks like I made a mistake here and should have read the documentation properly myself!
Anyway, if you save a project where the output is set to CHM then you won't need to use the out switch. Your code will then look something like:
| Code: |
| "c:\program files\red gate\sql doc 2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /force |
HTH!
Pete _________________ Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569 |
|
| 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