473,659 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Examine Source files in Solutiuon

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

Dec 31 '06 #1
3 1018
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.

Joe wrote:
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
Dec 31 '06 #2
Joe
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
:-(

"Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net wrote in message
news:Oh******** *****@TK2MSFTNG P06.phx.gbl...
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.

Joe wrote:
>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

Jan 1 '07 #3
Joe,
You can indeed manipulate individual code files via DTE. Here is a link with
a nice heriarchy image that illustrates:
http://www.c-sharpcorner.com/Code/20...ngWorkEnv2.asp
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Joe" wrote:
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
:-(

"Bob Powell [MVP]" <bob@_spamkille r_bobpowell.net wrote in message
news:Oh******** *****@TK2MSFTNG P06.phx.gbl...
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.

Joe wrote:
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


Jan 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
3881
by: Tim Zhao | last post by:
I downloaded the PHP 5 source code from www.php.net web site. It is a tar compressed file. I used WinZip to unzip it. Now I got a whole bunch of files. But I do not know to read these files. Do I use Visual Studio, or any other IDE tools? Or do I must use a text editor to open each file individually to view it?
9
5327
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM protocol. I keep the project source in three directories, based upon the code's function: one for the network API code itself, one for the support APIs (basic chat spam filtering, Swing models, rich text decoders, etc), and one for the test client...
1
2569
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can easily define your own colorscheme. example usage: # Highlight PySourceColor.py python PySourceColor.py or # Show help
2
2449
by: Sean Dettrick | last post by:
I am wondering if it is possible to increment an integer at compile time using template<int N> (or by any other method, e.g. compiler directives etc), across multiple source files. This may sound crazy, but I wish to build a string array (which requires no user maintenance) of source file RCS version numbers! The idea is, I would like to be print the beggers out or operate on them at run time if I feel like it, by using a (maintenance...
2
435
by: RSB | last post by:
Hi Every one, I am currently using Visual Studio .Net and trying to open a project from SourceSafe and once i open the project for the first time i get the following error/warning... "The binding information for this solution could not be retrieved from its source control provider. This solution may have been placed under source control with a different provider configuration from the current one. To keep source control working for...
1
2788
by: Richard A. Lowe | last post by:
I have a non-COM, non-.NET DLL, apparently written in C++ but for which there is no source available (so I am told). I have tried the DumpBin utility and Dependancy Walker to examine the exported functions so that I can P/Invoke them from C# but I only ever see the names of the functions, never the full signature. I realize I might not be able to get the actual as-in-code definition, but there must be SOME way to infer this, isn't there?...
1
1375
by: Anders | last post by:
Hi I have been given the task to inverstergate why a asp.net 1.1 on windows 2003 worker process is growen to around 700mb somtimes and the restarts it self. The application does use some large result sets but as the documentation describes, only a few in the Session, It would be a HURGE job to go throug all the source code to identify this
10
1999
by: MLH | last post by:
I wish to give someone an A97 database they can install on their PC as a runtime application. I want them to click a button on a form (frmDocumentMyPC). I want to document as much useful information about the PC as possible, save the data in table(s) and print a nice report. I know how to run IPconfig and read its output into Access tables. I don't know how much useful information can be read and saved, but I would like to get all that...
1
19833
by: bharathreddy | last post by:
This Article gives an introduction to VSTS Team Foundation & fundamental difference between Visual Source Safe (VSS) and VSTS Team Foundation. Team Foundation is a set of tools and technologies that enable a team to collaborate and coordinate a project (software or non software projects). The team collaboration is achieved by several tools and features available as part of "Team Foundation". Team Foundation Server The Team...
0
8746
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.