R
Richard Thombs
Hi, I'm trying to detect the version of SQL CE installed on a device.
Well, in general it is the version of any assembly installed, so I can
use this information as part of an AutoUpdate framework.
I'm using Assembly.Load("System.Data.SqlServerCe") to try and extract
the assembly info, so I can then get the version information. However,
this fails with a System.IO.IOException and the message: "File or
assembly name 'System.Data.SqlServerCe', or one of its dependencies,
was not found."
This method works for locally installed assemblies, such as my
application and other DLLs that make it up. I was hoping that this
would also work for assemblies in the GAC. Is this not the case, or am
I missing something more obvious?
Thanks in advance,
Richard.
Well, in general it is the version of any assembly installed, so I can
use this information as part of an AutoUpdate framework.
I'm using Assembly.Load("System.Data.SqlServerCe") to try and extract
the assembly info, so I can then get the version information. However,
this fails with a System.IO.IOException and the message: "File or
assembly name 'System.Data.SqlServerCe', or one of its dependencies,
was not found."
This method works for locally installed assemblies, such as my
application and other DLLs that make it up. I was hoping that this
would also work for assemblies in the GAC. Is this not the case, or am
I missing something more obvious?
Thanks in advance,
Richard.