Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 04-25-2005, 01:32 PM
kevina kevina is online now
Registered User
 
Join Date: 03-27-2003
Posts: 825
Yes, the Run Program action (or any other action type) can be used in conjunction with a Process Files step (other than a nested Process Files step, which is not allowed).

My guess is that you have the "Process once for each folder" option checked, which will only "fire" once per folder containing one or more matching files (and won't populate the PROCFILES_FULLPATH macro). Your usage will need this checkbox un-checked.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:44 AM.


Copyright © 1999-2023 Kinook Software, Inc.