Compact Framework 3.5 with Visual Studio 2008
Posted: Tue 11 Mar 2008 00:07
Hi,
I've just licensed MySQL SQL.NET Mobile 4.50, and installed the following...
mysqlnet450mob2.exe
I have had VS2005 installed previously, but removed. I have VS2008 Professional RTM installed.
Installing mysqlnet450mob2.exe errored with a CreateProcess failed relating to devenv.exe not found. I can see that the \Program Files\CoreLab folder is populated, but when using VS2008, working on a Compact Framework 2.0 or 3.5 project, I could not see the CoreLab components in the ToolBox.
Being adventurous, and have read a large number of forums articles, I have performed the devenv /setup, and devenv /resetskippkgs steps to see if this solved it. No.
The registry key fix suggested in another post already existed and appeared correct, so no issue there.
Choosing 'Add Items' by right clicking on my VS2008 Toolbox, I can browse to C:\Program Files\CoreLab\MyDirect.NET2 Mobile, and select CoreLab.MySql.dll. The components are listed, which I select/check, and click OK. Selecting Show All in the Toolbox, I can see that they are not listed still.
Searching further, I found that additional CoreLab files are installed into C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE.
Using the Toolbox | Add Items option, I browsed to the copy of CoreLab.MySql.dll in this folder, selected it, clicked OK, and magically the components appear in the Toolbox. GREAT!!!
However, I know find that they are only selectable when using a Compact Framework 2.0 Project, and not available when using a 3.5 Project. Are the components only for 2.0? Is there any way I can use them in my 3.5 projects??? as there are features in this newer framework that I want to use.
Regards
Jason
I've just licensed MySQL SQL.NET Mobile 4.50, and installed the following...
mysqlnet450mob2.exe
I have had VS2005 installed previously, but removed. I have VS2008 Professional RTM installed.
Installing mysqlnet450mob2.exe errored with a CreateProcess failed relating to devenv.exe not found. I can see that the \Program Files\CoreLab folder is populated, but when using VS2008, working on a Compact Framework 2.0 or 3.5 project, I could not see the CoreLab components in the ToolBox.
Being adventurous, and have read a large number of forums articles, I have performed the devenv /setup, and devenv /resetskippkgs steps to see if this solved it. No.
The registry key fix suggested in another post already existed and appeared correct, so no issue there.
Choosing 'Add Items' by right clicking on my VS2008 Toolbox, I can browse to C:\Program Files\CoreLab\MyDirect.NET2 Mobile, and select CoreLab.MySql.dll. The components are listed, which I select/check, and click OK. Selecting Show All in the Toolbox, I can see that they are not listed still.
Searching further, I found that additional CoreLab files are installed into C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE.
Using the Toolbox | Add Items option, I browsed to the copy of CoreLab.MySql.dll in this folder, selected it, clicked OK, and magically the components appear in the Toolbox. GREAT!!!
However, I know find that they are only selectable when using a Compact Framework 2.0 Project, and not available when using a 3.5 Project. Are the components only for 2.0? Is there any way I can use them in my 3.5 projects??? as there are features in this newer framework that I want to use.
Regards
Jason