tags:

views:

49

answers:

1

Hi guys, I have a question that can we run commadnline: aspnet_regiis -pc "DRMBasic" -exp using nant build script. I was trying the following line of code. but somehow this command can't run because the path is c:\windows\microsoft.net\framework\v2.0.50727 to run the above aspnet_regiis. I can also get the framework path. but what to do with it is the problem?

Urgent help required

A: 

If you kow the path of the thing you run, just set workingdir and basedir attributes on task.

<exec 
     program="aspnet_regiis" 
     basedir="c:\path to aspnet_regiis" 
     workingdir="c:\working dir"
     ...
>
   <arg value="-pc"/>
   <arg value="DRMBasic/>
   ...
</exec>
Eugene