Can I change the solution and use the envdte tools from the command line project?
I have an add-in that modifies the solution. But ... changes are required for more than a hundred projects ... Therefore, I would like to make a C # program that has the same logic, only it iterates through all the solution files.
Add-in starts with
EnvDTE.Solution solution = (EnvDTE.Solution)application.Solution;
where the DTE2 application is passed from the add-in ...
How can I get the same solution, which I then request for projects ... From a separate program that will know only the Path solution?
Is it possible to open a solution, process it and close it - go to the next solution?
Microsoft gives this example http://msdn.microsoft.com/en-us/library/envdte._solution.open(v=vs.100).aspx
But I do not know what dte is in context ...
Thanks...
VS 2010
edit: I did what it offers below. Slightly modified using the link: http://msdn.microsoft.com/en-us/library/ms228772(v=vs.100).aspx
thanks
source share