How can I list references for a selected project? And add a new reference to a dll on disk?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can either:
The automation model, is the better of the two, the code project article below shows you examples of getting and adding references to a project and the first article shows you how you can use the DTE from outside of Visual Studio itself.
This should give you a head start..
http://www.mztools.com/articles/2005/MZ2005005.aspx
http://www.codeproject.com/KB/macros/EnvDTE.aspx