Error while deploying to device

Hi,

I am getting the following error while I am trying to deploying my application. what may be the solution for this.

"Unable to start Program '%CSIDL_PROGRAM_FILES%\TestApp\TestApp.exe'.
Unable to load the CLR. the target device doesn't have a compatible version of the CLR
installed for the application you are attempting to debug. Verify That your device
supports the appropriate CLR version and has that CLR installed. some devices do not
support automatic CLR upgrade."

hope you can help me.

Thanks in advance


Answer this question

Error while deploying to device

  • AdriaanDavel

    Is this a NetCF v1 or v2 application Which NetCf version do you have installed on the device

  • JZINK123

    Please make sure to install NETCF V2 SP1 patch:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=610234&SiteID=1



  • drew_p

    Hi Ilya Tumanov

    Thank You very much for you response. As you installed I have installed VS2 Sp1. But the same error is repeated. Is there any other alternate to come out from this error while deploying. I hope you can solve my problem.

    Thanks in Advance,

  • eastside386

    Then NETCF V2 installation failed for some reason (or it is disabled in VS - by you). You can try installing NETCF V2 CAB file manually:

    http://blogs.msdn.com/netcfteam/archive/2005/10/11/479793.aspx



  • Error while deploying to device