Re: Version 3.5 Path

Paul Cowan <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
Frans is right.
The following will get me the root and then I can just append on the version
number to get me the correct versio of MSBUild.

var root = string.Format("{0}\\Microsoft.net\\Framework\\", Environment
.SystemDirectory);




2008/12/1 Frans Bouma <[email protected]>

>  > 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.
>
>        It's always in:
> %SYSTEMROOT%\Microsoft.net\Framework\v3.5
>
>        _if_ it's installed, of course, as there's no way to define a
> different path in the installer.
>
>        @Shawn: .net 3.5 has a new msbuild indeed, it has some new features.
> :)
>
>                FB
>
> ===================================
> 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.