I am developing a VS package and part of the functions that I need to implement is to add a file to the solution elements of the currently open solution.
This is the same action that will be performed manually if you right-click on the solution and choose Add> Existing Element. Then select the file on disk.
I have become familiar with the DTE and DTE2 interfaces and see operations for adding and managing projects, but there are no operations for adding individual files.
Thank.
source
share