Is there a quick way to print all files in a project or solution in visual
studio 2008?

Tem

RE: Print all file in a project or solution by PRSoCo

PRSoCo
Mon Mar 17 13:52:01 CDT 2008

As far as I know there's no built-in command to print all files in a project.

You could do it with a macro though, maybe something like:
Sub PrintAll()
For Each projectx As Project In DTE.ActiveSolutionProjects
For Each projectItem As ProjectItem In projectx.ProjectItems
projectItem.Document.Activate()
DTE.ExecuteCommand("File.Print")
Next
Next
End Sub

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#


"Tem" wrote:

> Is there a quick way to print all files in a project or solution in visual
> studio 2008?
>
> Tem
>
>