Command line argument -designsite not working, use -d


I was trying to use your tool and I was always receiving an "invalid uri" exception. I decided to download the source code and try to see exactly what was going on. Using the "-designsite" argument with "http://server:1234/" as the value, the url returned in the code to create a new instance of SPSite was "esignsite" .... so I tried calling SPSource as the following "spsource.exe -d http://server:1234/" and lo and behold, it worked!   Seems like your CommandLineParser isn't working the way you'd expect.
Thanks for the tool, I'm looking forward to using it fully
Closed Jan 14, 2010 at 1:20 PM by jthake


clarity wrote Dec 9, 2009 at 3:43 PM

same here, it would be great if this can be fixed as otherwise everyone needs to figure out for themselves why it's not working

jthake wrote Jan 14, 2010 at 1:20 PM

Actually if you read the documentation, the '--designsite' works 'designsite' doesn't

wrote Jan 14, 2010 at 1:20 PM

ncbob wrote Mar 8, 2011 at 2:21 PM

I have the same issue when I downloaded the latest version.

c:\tools\spsource.exe -designsite http://spsandbox/ generates the invalid uri exception c:\tools\spsource.exe -d http://spsandbox/ works as expected.

wrote Feb 13, 2013 at 10:18 PM

wrote May 16, 2013 at 4:53 AM