Hi,

Attached to this file is the RevSvcs task. This task installs or removes
.NET Services.

It can be used as follows:

Adds all public classes contained in myTest.dll to a COM+ 1.0
application and produces the myTest.tlb type library. If the application
already exists, it is overwritten.

<regsvcs assembly="myTest.dll" >
Adds all public classes contained in myTest.dll to myTargetApp and
produces the myTest.tlb type library. If the application already exists,
it is overwritten.

<regsvcs assembly="myTest.dll" appname="myTargetApp" >
Adds all public classes contained in myTest.dll to a COM+ 1.0
application and produces the myTest.tlb type library. A new application
is alway created.

<regsvcs action="create" assembly="myTest.dll" >
Uninstall the COM+ application contained in myTest.dll

<regsvcs action="uninstall" assembly="myTest.dll" >

I've placed it in the NantContrib namespace, but perhaps it should be in
Nant.Win32 or something.

Enjoy,

Arjen

Attachment: RegSvcsTask.cs
Description: RegSvcsTask.cs

Reply via email to