View Single Post
  #1  
Old 04-25-2005, 12:49 PM
tyacko tyacko is online now
Registered User
 
Join Date: 05-29-2003
Location: Pittsburgh, PA
Posts: 6
Question Registering multiple .NET files?

Hi.

I want to register multiple .NET files within my build process. They are all located within one folder, so I thought that I could use the following steps

1. 'Process Files'
2. 'Run command'

The reason I'm using Run command is that it doesn't look like there is a way to register (using regasm) a .NET dll using a Visual Build step like you could with VB6 dlls (using the COM Register step).

My problem is this, when I try to register my .NET dlls as follows:

%DOSCMD% call "%DOTNET_DIR%\regasm.exe" %PROCFILES_FULLPATH%

the macro isn't populated with the file from the 'Process Files' step.

So, this leads me to two questions:
1. Can the 'Process Files' macros be used within a 'Run command' step?
2. If not, is there some other way to do this programmatically rather than creating run command steps for every .NET dll?

Any help would be greatly appreciated.

Thanks,
tyacko
Reply With Quote