System.Runtime.InteropServices.RuntimeEnvironment.GetRuntimeDirectory();

Why it's in InteropServices I have no idea.

--- "Shaw, Gerry" <[EMAIL PROTECTED]> wrote:
> Currently the <csc> task expects csc.exe to be in
> the path.  This is lame
> IMO but I can't find a method in the CLR that gives
> me the
> c:\<windows>\Microsoft.NET\Framework\v<vesion#>\
> path.
> 
> I could do this by hand using the Environment class
> to get the version of
> the runtime but I'm not sure this is a good thing. 
> Currently having ever
> new developer using nant to have it break on their
> first try because csc.exe
> isn't in the path is giving it a bad rep.
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by: Jabber - The
> world's fastest growing 
> real-time communications platform! Don't just IM.
> Build it in! 
> http://www.jabber.com/osdn/xim
> _______________________________________________
> Nant-developers mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/nant-developers


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to