Skip navigation.

Command Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


buildnetclient(1)

Name

buildnetclient—Constructs a BEA Tuxedo .NET Workstation Client module.

Synopsis

buildnetclient [-v] [-o outfile] [-csflag flagstring] [.cs source files] [.dll assembly files] [.netmodule module files]

Description

buildnetclient is a utility used to construct a Tuxedo .NET Workstation Client application. This command combines the files specified by the .cs source file arguments, .dll assembly files, and .netmodule module files with the Tuxedo .NET Workstation Client wrapper libraries to form a client application. The client application is then built using the C# compiler (csc.exe) provided by Microsoft's .NET Framework environment.

Users may specify options to be passed to the C# compiler by setting the csflag option.

Note: Multiple C# compiler options can be specified. Multiple options must be enclosed with quotation marks and separated by a blank space.

Options

-v

Specifies that the buildnetclient command should work in verbose mode. In particular, it writes the compile command to its standard output.

-o outfile

Specifies the name of the client application generated by this command. If the name is not supplied, the application file is named after the C# source file which has a class containing a static method Main inside, and the file name extension is dependent on the operating system for an application (on a Windows system the extension would be .exe).

-csflag flagstring

Indicates any arguments that are passed as part of the C# compiler command line for any files with a .cs file extension. Multiple C# compiler options may be specified if they are enclosed in quotation marks and are separarted by white space.

.cs source files

Specifies any C# source files with a .cs file extension which are needed to build the application file.

.dll assembly files

Specifies any .NET assembly files with a .dll file extension which are referenced by the files in the .cs source files list to build the application file.

.netmodule module files

Specifies any .NET module files with a .netmodule file extension which are needed to build the application file.

Remarks

buildnetclient analyzes the arguments passed to it via command line and constructs another valid command line to invoke the C# compiler to build the application executable.

For example, [buildnetclient -o t1.exe, t1.cs] is translated by buildnetclient to csc /out:t1.exe /t:exe /r:%TUXDIR%\bin\libwscdnet.dll t1.cs on Windows system.

Examples

The following example builds two C# source files t1.cs, t2.cs and a module file t3.netmodule together into a executable assembly first.exe. In this example, t1.cs calls methods provided by a library assembly func.dll which is located in the same directory with the above files.

[buildnetclient -o first.exe func.dll t1.cs t3.netmodule t2.cs]

See Also

Creating Tuxedo .NET Workstation Client Applications

 

Skip navigation bar  Back to Top Previous Next