Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Resolving error creating smart device projects in Visual Studio 2005

Resolving error creating smart device projects in Visual Studio 2005

  • Comments 7

I heard from a customer this week who uninstalled all beta versions of Visual Studio 2005 and then installed the final release.  After doing this, he saw an error when trying to create a Smartphone 2003 Smart Device project using Visual C#.  The following error message consistenly appeared when trying to create the project:

This project requires .NET Compact Framework v1.0, which is not installed on this machine.

Visual Studio 2005 setup has logic to automatically install the .NET Compact Framework 1.0 SP3 and .NET Compact Framework 2.0.  The customer verified that .NET Compact Framework 1.0 SP3 is installed on his system by checking in Add/Remove Programs.

The customer was able to resolve this problem by doing the following:

  1. Go to Add/Remove Programs and uninstall the version of Microsoft .NET Compact Framework 1.0 that you have installed
  2. Go to your Visual Studio 2005 installation DVD, and re-install the .NET Compact Framework 1.0 SP3 by running NETCFSetupv1.msi from the folder \wcu\NetCF

There are some cases where beta versions of Visual Studio 2005 install an incompatible version of the .NET Compact Framework 1.0 SP3.  The MSI for this product has not changed since the early beta phase of VS 2005, so the cleanup tool does not attempt to uninstall it.  If you have installed very early beta versions of VS 2005, you might run into this error and the above steps should resolve it for you.

 

  • Hello,
    I had a similar problem (I think) trying to convert SDP(CF1.0) to CF2.0 with VS2005(final release).Re-installing CF1.0 SP3 did not help.
    However, I see you are talking about "incompatible" CF1.0 SP3. Does it mean that there are more than one CF1.0 SP3 versions?
    My registry key HKLM/Software/Microsoft/.NETCompactFramework was missing key "v1.0.5000.0" and only "v1.0.5000" was presented.
    I exported this key from another machine end imported it into my registry and the conversion passed.
    I had VS2003 installed on the same machine and there is no problem creating SDP(CF1.0)
  • Hi Ruslan - Some of the very old beta versions of VS 2005 had a beta version of the .NET Compact Framework 1.0 SP3 that is not compatible with the final release of VS 2005. I am not sure why your system would be missing that key that you mention. However, a re-install of .NET Compact Framework 1.0 SP3 will not work. You would need to uninstall and then install it back.

  • Hello,
    I have a problem when i create a smart device application using Ms. Visual Studio 2005, the exe file is created, but when i run it on a smart device hardware "Portable data collector", i have a message error, that the program required a newer version of .Net Compact Framework than that installed in the device.
    The device i use has a WinCE.Net V4, but the  MS. Visual Studio 2005 required a wince version 5.
    I installed the Compact Framework version 2,using netcfsetupv2.msi but the problem still exist.
    So how can i solve this problem ?.

    Thanks in advance
  • Hi - I don't have much experience developing smart device applications, so I'm afraid I don't know for sure what to suggest to have you try to resolve this issue.  There are a couple of resources that might be useful to you:

    1.  The Smart Devices team blog - http://blogs.msdn.com/vsdteam/

    2.  The MSDN Forums - http://forums.microsoft.com

    Hopefully someone at one of those locations will be able to provide some helpful advice.  I'm sorry I'm not able to be more helpful here.
  • PingBack from http://blogs.msdn.com/astebner/articles/492809.aspx
  • Where to get Visual Studio 2005 and the .NET Framework 2.0 Where to download the .NET Framework 2.0 redistributable

  • PingBack from http://www.hilpers.com/1031853-vs2005-und-cf-1-0-a

Page 1 of 1 (7 items)
Leave a Comment
  • Please add 8 and 4 and type the answer here:
  • Post