473,509 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Specifying an Additional Dependency for a Custom Build Step

Hi there,
I've got a special header file which I run an small external program
over to produce a .cpp file that I want to have my project build. The
special header file includes a second header file. I'm using VS.NET
2003 and I'd like to automate the process.

To automate this I used the Custom Build Step associated with my
first input file. I specified the output file, and also the second
header as an additional dependency, and add the command. I then add
the resulting .cpp file to the project. When I hit build, everything
works as expected -- the .cpp file is generated, and then compiled,
and my library is properly built.

Now, if I modify the first header file, the custom build step is
correctly re-run. However, when I modify just the second header file
(the one on the add' dep. line), the custom build step is not
triggered. I've tried absolute path specification, relative (to the
project directory). Everything. And it just is never triggered. I also
note that when I specify a bad filename the step is never triggered. I
have no idea what I'm doing wrong here. Any help is most appreciated!

Cheers,
Gordon.
Jul 21 '05 #1
3 2045
Hello Gordon,

Thanks for your post. I reviewed your request carefully, and think more
information is needed before moving forward. Could you post a simple
project which is able to reproduce the problem? I will be glad to check it
on my side.

I look forward to hearing from you.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
Hi,
Ok. When I got your email I sat down and spent an hour trying to
build a project that showed the failure in isolation. Couldn't do it.
So I went back to my original, large work space, and, lo, now it
works! I have no idea why it failed. Pilot error, obviously, but I'm
not sure what I was doing wrong. Sorry about that.

Cheers,
Gordon.

ti******@online.microsoft.com (Tian Min Huang) wrote in message news:<#p**************@cpmsftngxa07.phx.gbl>...
Hello Gordon,

Thanks for your post. I reviewed your request carefully, and think more
information is needed before moving forward. Could you post a simple
project which is able to reproduce the problem? I will be glad to check it
on my side.

I look forward to hearing from you.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #3
Hello Gordon,

Thanks a lot for your update. If the problem re-occur, please feel free to
post.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1103
by: audipen | last post by:
Hi, I trap the 'OnBuildProjConfigDone' and perform some custom enhancement to the assembly. I check the 'bool Success' parameter before I perform my step. I go ahead only if 'Success == true" ...
8
12593
by: Jeff Connelly | last post by:
We're getting this error and don't know where to find the problem. I assume this is usually issued in the typical case where project A has a reference to project B, and project B has a reference...
2
2356
by: Stevet96 | last post by:
I am building a C++ library using VS .NET 2003. I am adding a library into the Additional Dependencies input box. I then click apply and check the resulting command line. This causes the library...
3
7181
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
3
299
by: Gordon Watts | last post by:
Hi there, I've got a special header file which I run an small external program over to produce a .cpp file that I want to have my project build. The special header file includes a second header...
6
2748
by: Rolf Welskes | last post by:
Hello, I want to partial cache by using a UserControl. Now I have a file dependency. In msdn I see it is not possible to do it the same way as in a page. The only information is to create a...
15
6477
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
11
16179
by: phnimx | last post by:
I've completed migrating one of our company's C++ Managed Code applications to VS2005. I'm now attempting to run the application but there seems to be problems when accessing an object that is...
0
1293
by: thomas.santos | last post by:
Hi, I've been trying to add a script to create a custom C++ file type to visual studio 2005 with limited success. I can get the file created and added to a project, however, I need to add a...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7347
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5062
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.