3 Replies Latest reply on Oct 31, 2014 1:24 PM by Daniel Silva

    Getting started with EMDK

    William Daly

      I'm having difficulty getting started with EMDK. I downloaded EMDK for .NET 2.9 but the install fails saying Visual Studio is not found. This is true as I don't have Visual Studio installed. In the past for other devices, I've been able to do all of my development in SharpDevelop. Is that not an option for Motorola devices?

       

      If Visual Studio is required for development, what version do I need? Is the EMDK compatible with Visual Studio 2013 or would I need an older version? Would the Express version of Visual Studio work or do I need the full version?

        • Re: Getting started with EMDK
          Daniel Silva

          I'm not familiar with SharpDevelop, but I took a quick look and it looks like it is for developing full .Net Framework apps.  Our Windows based rugged handhelds are running CE or Windows Mobile/Windows Embedded Handheld 6.5.  These OSs do not support the full .Net framework, they support Compact Framework.  Microsoft only supports building apps for these devices using Visual Studio 2005 or 2008. See the readme file that comes with the EMDK for more details.

           

          Paste from that file:

          Development PC

          Install Requirements for Visual Studio 2005:

          * EMDK for .NET requires at least Visual Studio 2005 Service Pack 1 installed on the development PC.Install Requirements for Visual Studio 2008:

                If developing applications for Windows Embedded Compact 7.0 (CE 7.0) is a requirement, then install the followings:

           

           

          * The edition of Visual Studio installed must support mobile device development. Express editions of Visual Studio do not support mobile device development. Visual Studio 2008 Standard Edition does not support mobile device development.

            • Re: Getting started with EMDK
              William Daly

              SharpDevelop does support developing for Compact Framework. I've developed Windows CE applications on it before for other brands of mobile computers. My problem is that the Motorola EMDK is distributed as a .exe file that doesn't do anything but say "Cannot find Visual Studio" when I run it. I can't even get as far as viewing a readme file if it just errors out on the install. The other brands all just had zip files with the necessary DLLs, sample projects, and any other files necessary for development. Does Motorola provide something similar or only the exe file?

                • Re: Getting started with EMDK
                  Daniel Silva

                  Only the exe file.  The EMDK is pretty tightly integrated into Visual Studio.  I'm not sure what issues you might have trying to use the dlls in an app written in some other environment.  You can get at the release notes and the help file from the support site where you downloaded the exe.   It's stated a few places that you need Visual Studio 2005 or 2008 (and specific versions of those).  Not sure what device you're targeting, but if you just need to get scanner input, we have a prebuilt app called Datawedge that can be used to get the scanner data and feed it to the focused text field.  Sometimes that's enough, but sometimes not.