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. 3 2054
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.
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******* *******@cpmsftn gxa07.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.
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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"
My question is - Is there any way in which I can indicate success or
failure of my post build step.. 'Success' is an in-parameter, so I cant
set it to false. Also the return type of the handler is void.
|
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 to project A. There is nothing
so obvious, and look at all the dependencies I've failed to find anything
that could be perceived as circular. Has anyone found any odd behavior or
have a suggestion for something non-obvious to look at?
|
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 to be added twice. The
first instance is just the library name, the second instance is the full path
and library name. For example, adding test.lib to Additional dependencies
results in:
test.lib "C:\\test.lib"
This causes the linker to...
|
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 'mscorlib' (Signature='B77A5C561934E089'
Version='1.0.5000.0') of assembly 'System.dll'
WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089'
Version='1.0.5000.0') of assembly 'System.Windows.Forms.dll'
WARNING: Unable to...
|
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 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...
| |
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 file dependency and assign it to
Dependency property.
|
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 accept other controls. The
control i drag drop on it becomes the child of my custom control's
parent form and not the child of my custom control. Then i added this
line
""
before my custom control class (i dont know what this line does). Now
|
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 properly exported from
a utility dll of ours. The dll is written in MFC with sections of C++
Managed Code.
The dll exports its objects in the same manner as any VS2005 Solution Wizard
driven win32 dll base code, using the model: ...
|
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 custom build step to the
file
and I am not having much success (in implementing or finding the
first
step to getting things done).
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |