Open Source .NET Development [Electronic resources]

Brian Nantz

نسخه متنی -صفحه : 275/ 163
نمايش فراداده

<regsvc>Installs .NET Windows Services.

Attribute

Type

Description

Required

assembly

string

The source assembly file.

True

action

enum

Defines the action to take with the assembly. Supported actions are: FindOrCreate (the default), Create, or Uninstall.

False

application

string

Specifies the name of the COM+ application to either find or create.

False

componentsonly

bool

Configures components only; ignores methods and interfaces. The default is false.

False

existingapp

bool

Expect an existing application. The default is false.

False

existingtlb

bool

Uses an existing type library. The default is false.

False

noreconfig

bool

Do not reconfigure an existing target application. The default is false.

False

partition

string

Specifies the name or ID of the COM+ application to either find or create.

False

tlb

string

Specifies the type library file to install.

False

failonerror

bool

Determines whether task failure stops the build or is just reported. The default is true.

False

if

bool

If true then the task will be executed; otherwise, skipped. The default is true.

False

timeout

int

The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out.

False

unless

bool

Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false.

False

verbose

bool

Determines whether the task should report detailed build log messages. The default is false.

False

Example

<regsvcs action="FindOrCreate" assembly="myTest.dll" />