Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / September 2005

Tip: Looking for answers? Try searching our database.

Determing language of VS 2005 web application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rjack@elegancetech.com - 28 Sep 2005 16:59 GMT
How do you determine the language (C#, VB, etc.) of a VS 2005 web
project through automation?

I have tried Project.Kind (prjKind), but that only works for non-web
projects. Also, there doesn't appear to be anything useful in VSWebSite
to use for this problem.

Thanks!
"Gary Chang[MSFT]" - 29 Sep 2005 06:12 GMT
Hi rjack,

>How do you determine the language (C#, VB, etc.) of a VS 2005
>web project through automation?

Unlike the previous VS.NET versions, the web project in VS2005 does not
correspond to one specific .NET language project, it has its own project
type--Web Site project.

So I am afraid you could not determine the language (C#, VB, etc.) of a VS
2005 web site project via automation, the another consideration is the new
Web Site project could be composed by multiple language .NET languages
components(the pages, classes, etc), so the VS2003's method doesn't work
here.

By the way, if the Web Site project is composed by only one language, you
may enumerate its projectitem's filename to check its language type...

Thanks!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.