Groups | Blog | Home
all groups > dotnet compact framework > february 2006 >

dotnet compact framework : Problem with DLL



Ilya Tumanov [MS]
2/21/2006 12:36:52 PM
Indeed you have. You're trying to use assembly compiled against desktop on
device which is not allowed.

Note you have desktop PKT: B03F5F7F11D50A3A

NETCF PKT is 969DB8053D3322AC

Please make sure this DLL is compiled as NETCF DLL project, not desktop one.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

[quoted text, click to view]

Alex Yakhnin [MVP]
2/21/2006 1:35:26 PM
It looks like you compiled your dll against a desktop libraries.
--
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org


[quoted text, click to view]
MW
2/21/2006 2:08:48 PM
Hello,

I have a following situation I have a web service, which is called from DLL,
which is used by Pocket. To ilustrate this:

WEB
SERVICE --------------> DLL -----------------------> Pocket client

The reason for doing this that way is, I also have WebClient, so, this also
aplies:

WEB
SERVICE --------------> DLL -----------------------> Web client

While everything works great on Web Client, any call to the DLL from Pocket
client results in LoadException, that says:

Additional information: Cannot load type System.Web.Services.Protocols.SoapHttpClientProtocol
from set System.Web.Services, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A.

What's wrong? Have I made some fundamental error?

I greatly appreciate any help on this, as I have no idea what to do next.

Thank you in advance,
MW

Ilya Tumanov [MS]
2/21/2006 2:42:29 PM
You can use NETCF DLL in desktop projects assuming no device specific code
is used in the DLL.

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

[quoted text, click to view]

MW
2/21/2006 9:04:39 PM
Thanks for the reply.

You're right, when I created new project (for CF) and added all the files
everything works.

However I now have a problem that I have two sets of files in different projects.
Is there a workaround?

Thanks,
Wally

AddThis Social Bookmark Button