PDA

View Full Version : Building dependent dll's


dgh
06-27-2011, 02:18 AM
Hi,

I have a number of individual programs that all depend on a common dll. Whilst I have individual builds for each one, including the dll, I have a 'master' build that does the lot including running InstallAware etc.

In the master build I set a macro to a common version number that is used by each build. The first item built is the common dll.

The problem is that the remaining builds for the individual programs all reference the now 'old' version number of the common dll.

How do I update the reference to the common dll in the remaining builds?

kinook
06-27-2011, 12:14 PM
http://www.kinook.com/Forum/showthread.php?t=2810

http://www.kinook.com/Forum/showthread.php?t=2015

http://www.kinook.com/Forum/showthread.php?t=463

dgh
06-27-2011, 07:20 PM
Thanks for the references.

After spending an hour and a half trying to learn the inner workings of XPath I am only slightly wiser as to what ::::::: means. Everything I've read refers to ////////.

I tracked down some examples of WriteXML and the only one I found on this board is:

/nc:configuration/nc:system.web/nc:sessionState

It took me at least 15 minutes to discover what the /nc represented.

I've now used:
/nc:ItemGroup/nc:Reference[@Include='MCCommon']

and get this error:

Error in System (VBScript) script code at Line 27, Column 2 (Error expanding macros or script in property XPath: /nc:ItemGroup/nc:Reference<Error at Line 1, Column 1 (Invalid character)
Code: @Include='MCCommon'>)

I think I've tried every combination I can think of without luck.

Can someone please put me out of my misery ... thanks ...

EDIT ... OK ... I need [[ ]] and the value I was using to check was 'incomplete'. Seems I now need to learn RegEx and use 'Replace in File <sigh>.