Groups | Blog | Home
all groups > visual studio .net ide > august 2005 >

visual studio .net ide : Is folder name 'My Project' always named 'My Project'?


Joginder
8/21/2005 12:09:02 PM
I have an add-in to VS.NET 2005 that needs to analyse the source code VS.NET
solutions. I would like to ignore all the items that are in 'My Project'. Is
is safe for me to assume that the all the items (ie Application.Designer.VB,
Application.myapp, MyApplication.myapp, MyResorces.vb, MySettings.vb etc)
will always be in folder 'My Project'? Is the folder name Locale dependant or
is there another way to determine if an item belongs to 'My Project' ?

Regards,
Joginder Nahil
www.starprint2000.com



--------------------------------------------------------------------------------
Carlos J. Quintero [VB MVP]
8/22/2005 10:13:31 AM
I am using the English version of VS 2005 but I bet that the "My Project"
folder will be localized in other versions such as the Spanish one. I have
used the Spanish versions of previous VS.NET and even the code generated by
the designers, wizards, etc. is localized, so a UI element with much greater
chance.

I am also interested in guessing if a given folder is the "My Project"
forder (VB.NET) or "Properties" folder (C#). I am not sure if the
extensibility model provides a way to know it (anyone from MS?). The safest
workaround that I have found so far is: "If the folder contains the
assemblyinfo.vb or assemblyinfo.cs file, it must be the 'My Project'
folder". If someone has something better, please post.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Joginder" <Joginder@discussions.microsoft.com> escribió en el mensaje
news:1F7C2F0A-56DF-4597-B0B4-81B5CBAB7D10@microsoft.com...
[quoted text, click to view]

AddThis Social Bookmark Button