Re: Version 3.5 Path

Paul Cowan <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
That points to a folder that does not contain MSBUild.

I suspect it is a Visual Studio path that I cannot rely on being in the
client machine.

I can think of a very hacky way by getting a SubString of the
RuntimeEnvironment.GetRuntimeDirectory() and adding on the various framework
versions.

Not very pretty but will work.

2008/12/1 Richard Blewett <[email protected]>

> Ah ok - in that case you want the reg key that Shawn posted
>
> Rich
>
> > -----Original Message-----
> > From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> > [email protected]] On Behalf Of Paul Cowan
> > Sent: 01 December 2008 09:41
> > To: [email protected]
> > Subject: Re: [ADVANCED-DOTNET] Version 3.5 Path
> >
> > Actually that does not get what I need.
> >
> > That points (on my machine) to:
> >
> > C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\
> >
> > I am looking for the path to the correct version of .NET where I can
> > find
> > MsBuild.
> >
> > On my machine it is:
> >
> > C:\WINDOWS\Microsoft.NET\Framework\v3.5
> >
> >
> >
> >
> > 2008/12/1 Shawn Wildermuth <[email protected]>
> >
> > > Darn...foiled by Richard yet again ;)
> > >
> > > Thanks,
> > >
> > > Shawn Wildermuth
> > > http://wildermuth.com
> > > http://wildermuthconsulting.com
> > > Microsoft MVP (C#), MCSD.NET <http://mcsd.net/> <http://mcsd.net/>,
> Author and Speaker
>  > >
> > > The Silverlight Tour is coming to a city near you!
> > >
> > >
> > > -----Original Message-----
> > > From: Discussion of advanced .NET topics.
> > > [mailto:[email protected]] On Behalf Of Richard
> > Blewett
> > > Sent: Monday, December 01, 2008 3:57 AM
> > > To: [email protected]
> > >  Subject: Re: [ADVANCED-DOTNET] Version 3.5 Path
> > >
> > > Hi Paul
> > >
> > > Will this registry key give you what you need?
> > >
> > >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\v3.
> > 5
> > >
> > > Rich
> > >
> > > > -----Original Message-----
> > > > From: Discussion of advanced .NET topics. [mailto:ADVANCED-
> > > > [email protected]] On Behalf Of Paul Cowan
> > > > Sent: 01 December 2008 08:50
> > > > To: [email protected]
> > > > Subject: [ADVANCED-DOTNET] Version 3.5 Path
> > > >
> > > > Hi,
> > > >
> > > > I want to find out programattically where the v3.5 version is but
> > > > cannot
> > > > find away.
> > > >
> > > > The followoing instruction returns the v2 framework path:
> > > >
> > > > RuntimeEnvironment.GetRuntimeDirectory()
> > > >
> > > > How can I get the version 3.5 path.
> > > >
> > > > Paul
> > > >
> > > > ===================================
> > > > View archives and manage your subscription(s) at
> > > > http://peach.ease.lsoft.com/archives
> > >
> > > ===================================
> > > View archives and manage your subscription(s) at
> > > http://peach.ease.lsoft.com/archives
> > >
> > > ===================================
> > > View archives and manage your subscription(s) at
> > > http://peach.ease.lsoft.com/archives
> > >
> >
> > ===================================
> > View archives and manage your subscription(s) at
> > http://peach.ease.lsoft.com/archives
>
> ===================================
> View archives and manage your subscription(s) at
> http://peach.ease.lsoft.com/archives
>

===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.