Hi,

I would like to open ILDASM, programatically.
I could use
System.Diagnostics.Process.Start("....\ILDASM.eXE");

But in that case i'll have to hard code the path...
which i dont want to....

any ideas on how 2 go bout doing this???


thanx in advance,
Kamelsh.
Cognizant Technology Solutions

Opening ILDASM.EXE programatically using C# by gani

gani
Fri Jun 11 01:58:45 CDT 2004

kamy,

use
System.Runtime.InteropServices.RuntimeEnvironment.GetRunti
meDirectory() to get .net framework directory.

HTH

gani
http://thedeveloperscorner.com.ph


>-----Original Message-----
>Hi,
>
>I would like to open ILDASM, programatically.
>I could use
>System.Diagnostics.Process.Start("....\ILDASM.eXE");
>
>But in that case i'll have to hard code the path...
>which i dont want to....
>
>any ideas on how 2 go bout doing this???
>
>
>thanx in advance,
>Kamelsh.
>Cognizant Technology Solutions
>.
>

Re: Opening ILDASM.EXE programatically using C# by Morten

Morten
Fri Jun 11 06:16:42 CDT 2004

Hi ,

As far as I know Framework 1.1 is always put into

%windir%\Microsoft.Net\Framework\v1.1.4322

This is a valid path and will reflect partition and windows directory.

--
Happy coding!
Morten Wennevik [C# MVP]