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 10-29-2009, 01:25 PM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
Replace in a .vcproj file

What is the best way to replace in a .vcproj file:

<Tool
Name="VCCustomBuildTool"
Description="Performing registration"
CommandLine="regsvr32 /s /c &quot;$(TargetPath)&quot;&#x0D;&#x0A;echo regsvr32 exec. time &gt; &quot;$(OutDir)\regsvr32.trg&quot;&#x0D;&#x0A;e cho Execute mtxrereg.exe before using MTS components in MTS&#x0D;&#x0A;"
Outputs="$(OutDir)\regsvr32.trg"
/>


with this:

<Tool
Name="VCCustomBuildTool"
/>


In other words a developer performs a custom build step - registration. I want to get rid of this step on my build machine.

I'm using VBP v. 7.2a

thank you
Reply With Quote
  #2  
Old 10-29-2009, 01:50 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample.
Attached Files
File Type: zip replace_vcproj.zip (2.9 KB, 2124 views)
Reply With Quote
  #3  
Old 10-29-2009, 03:35 PM
abcdetech abcdetech is online now
Registered User
 
Join Date: 04-30-2008
Posts: 18
just perfect and quick. THANK YOU
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 12:44 AM.


Copyright © 1999-2023 Kinook Software, Inc.