Run CliGenerator.exe from DOS Command

Posts   
 
    
Rishi
User
Posts: 69
Joined: 31-Oct-2011
# Posted on: 10-Jan-2012 00:17:33   

Hi,

After the LLBGen Pro was installed on my machine, the following command excecuted successfully.

"C:\Program Files\Solutions Design\LLBLGen Pro v3.1\CliGenerator.exe" "MyProfject.llblgenproj" MyNameSpace" "C#" ".NET 4.0" "Adapter" "SD.Presets.Adapter.General2010" "MyLLBGenOutputFolder" 1 "MyLLBLGenOutputFolder\LLBlGen_CS.log"

However, I got an error when I copied all of the files under the LLBLGen Prof v3.1 installation folder to a temporary folder and executed following command.

"C:\Users\kvle\Desktop\LLBLGenPro\CliGenerator.exe" "C:\Mywork\Rbs\AssistWeb\Framework\Business.Lower\Grb.Framework.Business.Lower.llblgenproj" Grb.Framework.Business.Lower" "C#" ".NET 4.0" "Adapter" "SD.Presets.Adapter.General2010" "C:\Mywork\Rbs\AssistWeb\Framework\Business.Lower\Test" 1 "C:\Mywork\Rbs\AssistWeb\Framework\Business.Lower\Test\LLBlGen_CS.log"

The error message is:

Unhandled Exception: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Convert.ToInt32(String vaue) at SD.LLBLGen.Pro.Tools.CommandLineGenerator.Startup.Main(String[] args)

What I try to do is that I want to run the CliGenerator.exe file without of installing the LLBLGen Pro on a machine.

Is there a way to do this?

Thanks, Rishi

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 10-Jan-2012 05:10:54   

Rishi wrote:

The error message is:

Unhandled Exception: System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Convert.ToInt32(String vaue) at SD.LLBLGen.Pro.Tools.CommandLineGenerator.Startup.Main(String[] args)

This is quite a culture info error. Not sure

Rishi wrote:

What I try to do is that I want to run the CliGenerator.exe file without of installing the LLBLGen Pro on a machine.

Is there a way to do this?

In short: No. CliGenerator and CliRefresher are tied to the LLBLGen installation, they need LLBLGen assemblies, and most important they require a valid LLBLGen Pro license. You can't distribute this. Each developer 'seat' that wants to run CliGenerator must have its own LLBLGen installation and license. That also means that you can't put this into a shared network resource.

Check the Eula.rtf in the installation folder for more info about this.

David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39615
Joined: 17-Aug-2003
# Posted on: 10-Jan-2012 10:11:41   

Indeed, what David said is correct, you're not entitled to distribute the software from the installation package except the runtime libraries.

Frans Bouma | Lead developer LLBLGen Pro