TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nikahat Khan
NA
5
4.4k
Get Vs version number
Nov 30 2011 5:20 AM
i want to get the Visual studio version number using envdte on the build event .
I tried to get it through this code.../
Process[] p = Process.GetProcessesByName("devenv");
foreach (Process proc in p)
{
if (proc.ProcessName == "devenv")
{
MessageBox.Show(proc .MainModule .FileVersionInfo.FileVersion);
}
}
but the problem is for 2 different version of VS it shows both versions as 2 instances of devenv are opened in the Tsakmanager.
please provide solution asap.
Reply
Answers (
1
)
Return url issue.
HTTP GET AND POST