Jump to content

Recommended Posts

Posted

In my new .NET CF (3.5 WinMo 6 Pro) application, I am referincing a DLL. When I deploy it to my physical device, the program won't start. I get a .NET CF Initialization Error. "The application failed to load required components. If the .NET Compact Framework is installed on a storage card, please ensure that this card is in place and launch the application. If this fails, a re-installation of the .NET Compact Framework is recommended". It only happens when I try to intialize an object whose class is that DLL.

 

If I remove the object initialization and remove the reference it works fine.

 

I've tried adding the DLL to the solution and placing the DLL in the application's startup dir on my device.

 

I did some web-searching on the issue and it appears that it was a bug in the .NET CF 2.0. The man said that it should be fixed in .NET CF SP2. I am running 3.5

 

http://ms-os.com/Themes/AlmostGlass/images/icon-quote.gif

Dan Elliott - MSFT wrote:
We've confirmed that this is a bug in CF.* Whenan app is launched, we use the app path in the class name. Our singleinstance detection logic is broken if an app is launched with differentslashes in the path. This repros on the Blackjack, as its task managerlaunches apps using forward slashes and the OS preserves them. So if auser launches an app normally from the start menu (back slashes) andthen tries to get to it using the task manager, they will get a newinstance instead of the old one.

 

Unfortunately it is too late to get the fix into Beta 2, but*we plan to get it into RTM.

*

Dan

 

 

-J.Lebowski

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...