RE: Programmatically determine if .NET 3.0 is installed

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi Roger,

Do you mean that you want to build your program against .NET Framework 2.0
but want to dynamically detect and load an assembly from .NET Framework
3.0? How will you use the System.Drawing.Image? Using reflection?

You can use registry to determine if .NET Framework 3.0 is installed or not:

http://msdn2.microsoft.com/en-US/library/aa480173.aspx#deploywinfx_topic11

Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.




.



Relevant Pages

  • Re: Slow startup of Deployed Application
    ... If it were me I would simply explain to the "clients" there machines ... 'cause any 'splash window' would require the .net framework to ... 'cause we are waiting for the OS to load the .net framework. ... I use the builtin Splash Screen funtionality in VB2005. ...
    (microsoft.public.dotnet.languages.vb)
  • RE: VS2003/VSTO debugging fails after installing VS2005
    ... application will try to load the most recently .NET framework. ... When responding to posts, please "Reply to Group" via your newsreader so ...
    (microsoft.public.vsnet.debugging)
  • Very BIG probelm with ASP.NET and Net framework 1.0 and 1.1 running side by side - Please help
    ... So when I debug my ASP.NET application, I see it is run under Net Framework ... But no matter what I do, it seems Net 1.1 ALWAYS finds and try to load ... and there always I find my compiled DLL. ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Very BIG probelm with ASP.NET and Net framework 1.0 and 1.1 running side by side - Please help
    ... So when I debug my ASP.NET application, I see it is run under Net Framework ... But no matter what I do, it seems Net 1.1 ALWAYS finds and try to load ... and there always I find my compiled DLL. ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Word and Excel loads version 1.1 of the CLR instead of 2.0 (Beta 2 -> RTM issue)
    ... If I rename the winword.exe registry key to winword2.exe for example, word loads v2.0 of the CLR as expected, and the addin loads successfully. ... This event log message does not appear for users that are local administrators. ... Based on my understanding, your Word/Excel addin does not load the lastest CLR, while it still load .Net 1.1. ... Also, if you can not go with the config file workaround, I think you may try to clearly remove the .Net Framework and re-install a RTM .Net Framework. ...
    (microsoft.public.dotnet.framework.clr)