Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
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?


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:


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.

Reply With Quote
Old 04-25-2005, 01:32 PM
kevina kevina is online now
Registered User
Join Date: 03-26-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

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 01:33 PM.

Copyright 1999-2019 Kinook Software, Inc.