Examine Source files in Solutiuon

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi

Working with a large solution with many projects and many different people
working on the code

I was looking for a way to loop thru all projects and file to ensure
everyone has done some standard things

ie
-all forms have localizable set to true
-name spaces following same format

do I need to write my own pgm to loop thru the actual source files and look
for these items
ie. for forms localizable I would need to find all .resx files and look for
that property

or is there someother way thru DotNet

thanks
 
Take a look at the Visual Studio automation model.

DTE has commands that enable you to iterate projects in a solution or
files in a project etc.


--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Hi Bob

Thanks

I have looked at DTE - looks like I can get to properties of Solutions and
Projects but not individual file (ie forms)
so I wanted to make sure I wasn't missing something before I brut force it
:-(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top