.NET Framework Path

A

Aaron Chan

Hello all,

Just a quick question... Is it true that the path of the .NET framework
SDK files is always under:

{windir}\Microsoft.NET\Framework\{version}

? I.e. is there anyway the user could change this path?

I'm asking this because I am currently creating an IDE for .NET
programming and wanted to know the path for csc.exe, vbc.exe, ilasm.exe,
etc... If the path is variable, then I will get the user to choose it from a
dialog.

Thanks for your help,
Aaron Chan
 
T

Thomas Scheidegger [MVP]

true that the path of the .NET framework SDK files is always under:
{windir}\Microsoft.NET\Framework\{version}

No, the SDK (the package for developers only) is not in that path.
Maybe you mean the .NET Framework -Redist- (Runtime)?

To detect the .NET Runtime:
http://www.google.com/groups?selm=#[email protected]

http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondeterminingwhatversionofruntimetoload.asp

thus both, path & registry should work & match.

path for csc.exe, vbc.exe, ilasm.exe

this compilers are part of the .NET -Redist-.

is there anyway the user could change this path?

AFAIK for the (1.0/1.1) .NET -Redist-, the install path is fixed.


But the user could change for sure the .NET -SDK- path,
by default it is like:
....Visual Studio path....\SDK\v1.1\
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top