|
Hi,
In the GAT.xml file, is there a way to get the targetDir, like $(TargetDir) can be used in post-build actions?
More general: Is there a list of out-of-the-box available variables. Is there an xml reference in general?
Greetz, Owin
| | Owin Wednesday, December 06, 2006 4:29 PM | Hi Owin,
You can check other macros supported by VS by going right clicking on a project, selecting Properties, and then the "Build Events" tab, then click on "Edit pre-build..." button and you'll see a list of available key macros.
I'm pretty sure this list should be on msdn too somewhere but I don't have a URL handy...
HTH, -Victor.
| | vga Wednesday, December 06, 2006 5:22 PM | Hi Owin,
Sorry, I thought you were after using this macros in the build process. You can't use these macros in the a guidance package manifest.
What you should do is to write a custom ValueProvider that retrieves that directory for you. Let me know if you need any help in writing it.
HTH, -Victor.
| | vga Thursday, January 04, 2007 4:21 PM | Hi Owin,
You can check other macros supported by VS by going right clicking on a project, selecting Properties, and then the "Build Events" tab, then click on "Edit pre-build..." button and you'll see a list of available key macros.
I'm pretty sure this list should be on msdn too somewhere but I don't have a URL handy...
HTH, -Victor.
| | vga Wednesday, December 06, 2006 5:22 PM | Hi,
I've tried some of the macros (TargetDir and ProjectDir) like this, but got the error at the bottom:
< Arguments>
< Argument Name="OwinTest">
<ValueProvider Type="Evaluator" E xpression = "$(ProjectDir)" /> (There is a space in E xpression, because for some reason you can't use the whole word in this site...It vanishes)
</ Argument>
</ Arguments>
Error:
An exception occurred during the binding of reference or execution of recipe CreateSolution. Error was: The following arguments are required and don't have values: OwinTest. Can't continue execution..
| | Owin Thursday, January 04, 2007 2:27 PM | Hi Owin,
Sorry, I thought you were after using this macros in the build process. You can't use these macros in the a guidance package manifest.
What you should do is to write a custom ValueProvider that retrieves that directory for you. Let me know if you need any help in writing it.
HTH, -Victor.
| | vga Thursday, January 04, 2007 4:21 PM |
|