Chris
Sat Aug 16 14:56:38 CDT 2008
To run a CF 2.0 app against the 3.5 runtimes you need a config file that
tells the runtime to do so.
See these:
http://msdn.microsoft.com/en-us/library/bb629366.aspx
http://blogs.msdn.com/stevenpr/archive/2004/12/30/344540.aspx
http://blogs.msdn.com/davidklinems/archive/2005/11/09/491113.aspx
http://blogs.msdn.com/stevenpr/archive/2008/03/11/promoting-all-net-compact-framework-applications-on-a-device-using-device-config.aspx
--
Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
"Sagaert Johan" <REMOVEsagaert_j@hotmail.com> wrote in message
news:uhCPGB9$IHA.1228@TK2MSFTNGP02.phx.gbl...
>I don't need CF3.5 it just is installed on the hardware, so why does't it
>run CF2.0 apps then ?
>
> I remember on the desktop that net 1.1 app did run on a machine with only
> net 2.0 installed.
>
>
>
> "Chris Tacke, eMVP" <ctacke.at.opennetcf.dot.com> wrote in message
> news:%23Gx58p7$IHA.2056@TK2MSFTNGP05.phx.gbl...
>> Sure, Studio 2005 pre-dates CF 3.5 and cannot develop or debug apps
>> against it. It can do CF 1.0 and 2.0 apps.
> why do i then get a NET CF initialisation error when i try to run an CF2.0
> executable ?
>
>
> If you need 3.5, you must use Studio
>> '08.
>>
>>
>> --
>>
>> Chris Tacke, Embedded MVP
>> OpenNETCF Consulting
>> Giving back to the embedded community
>>
http://community.OpenNETCF.com
>>
>> "Sagaert Johan" <REMOVEsagaert_j@hotmail.com> wrote in message
>> news:%23N%23oWX4$IHA.3380@TK2MSFTNGP04.phx.gbl...
>>> Hi
>>>
>>> I discovered that this not work :
>>>
>>> When i try to debug i get :
>>>
>>> Unable to start debugging. Check for one of the following.
>>>
>>> 1. The application you are trying to debug uses a version of the
>>> Microsoft
>>> .NET Framework that is not supported by the debugger.
>>> 2. The debugger has made an incorrect assumption about the Microsoft
>>> .NET
>>> Framework version your application is going to use.
>>> 3. The Microsoft .NET Framework version specified by you for debugging
>>> is
>>> incorrect.
>>>
>>> Please see the Visual Studio .NET debugger documentation for correctly
>>> specifying the Microsoft .NET Framework version your application is
>>> going to
>>> use for
>>> debugging.
>>>
>>>
>>> Any hints to solve this ?
>>>
>>> ps The app does not even run without debugging, it yields a NET CF
>>> initialisation error.
>>>
>>> Johan
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>