Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 14 Mar 2007 17:32:18 +0800,    group: microsoft.public.vstudio.extensibility        back       


Can I access build events tab of a given project properties page from vs2005 add-in?   
Hi guys.
I want to access the build events tab of a given project properties page? Is 
this feasible?  What I want is to copy a xml data file data.xml (this file 
was generated by my add-in and when program runs, it depends on this xml 
file) under  $(ProjectDir) directory to $(OutDir) after the project is built 
successfully.
So what i am considering is that  in my add-in codes, I can programatically 
access the post-build events command line box and write into
copy $(ProjectDir)\data.xml $(OutDir)\data.xml
Does anybody know how to get there? or how can I determine the project's 
build configuration(debug or release) so that I can copy this xml file 
directly to the target directory(bin\Debug or bin\Release) rather than 
accessing build events tab on the project properties page?

Any suggestion will be much appreciated!

Rigards,
Richard
date: Wed, 14 Mar 2007 17:32:18 +0800   author:   Richard

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us