NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HxLink DID NOT INITIALIZE

/target (Specify Output File Format)

Specifies the format of compiler output. The /target compiler option can be specified in one of four forms:
/target:exe
Create an .exe console application.
/target:library
Create a code library (DLL file).
/target:module
Create a module.
/target:winexe
Create a Windows program. This is the default if you do not specify the target option.

Unless you specify /target:module, /target causes a NGWS runtime Assembly manifest to be placed in an output file.

The assembly manifest is placed in the first .exe output file in the compilation or in the first .dll, if there is no .exe output file. For example, in the following command line, the manifest will be placed in 1.exe:

vbc /out:1.exe t1.vb /out:2.exe t2.vb

The compiler creates only one assembly manifest per compilation. Information about all files in a compilation is placed in the assembly manifest. All output files except those created with /target:module can contain an assembly manifest. When producing multiple output files at the command line, only one assembly manifest can be created and it must go into the first output file specified on the command line. If the first output file is an exe (/target:exe or /target:winexe) or code library (/target:library), then any other output files produced in the same compilation must be modules (/target:module).

See Also

Visual Basic Compiler Options