Re: Class Library for CF and .NET Framework
From: Alex Feinman [MVP] (public_news_at_alexfeinman.com)
Date: 06/07/04
- Next message: Maarten Struys, eMVP: "Re: Unknown error message"
- Previous message: SiewSa: "Re: Unknown error message"
- In reply to: Jeff Jackson: "Class Library for CF and .NET Framework"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 6 Jun 2004 21:22:29 -0700
IIRC the desktop and CF versions of the System.Web.Services are different.
What is the stack when you hit the exception? Perhaps you would be able to
get around this problem by customizing web service proxy
-- Alex Feinman --- Visit http://www.opennetcf.org "Jeff Jackson" <aaxemen@hotmail.com> wrote in message news:uNtFSNDTEHA.1472@TK2MSFTNGP09.phx.gbl... > I'm trying to build a class library that can be used for .NET framework > desktop windows applications as well as .NET Compact Framework apps. The > class library needs to make use of a web service. I created the project for > the class library using the Smart Device Application option in the wizard > and things work properly for smart device apps that consume my class > library; however, when I try to use the same class library with a .NET > windows application, I get a runtime exception when I access the web > service. > > The message is: An unhandled exception of type > 'System.InvalidOperationException' occurred in system.web.services.dll > > Am I trying to do something that can not be done? Otherwise I guess I'll > have to have separate builds of my class library - one for CF applications > and another for windows apps. Does that make sense? Is there another way? > I'd prefer not to have to have two different assemblies. > > Thanks, > Jeff > >
- Next message: Maarten Struys, eMVP: "Re: Unknown error message"
- Previous message: SiewSa: "Re: Unknown error message"
- In reply to: Jeff Jackson: "Class Library for CF and .NET Framework"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|