Consuming WCF by Windows Service

H

Hakan Ugur

Hi,

I am trying to consume WCF from Windows Service. When I added WCF reference
to Window Service project as a service reference, everything seems fine. It
updated app.config file, added service reference etc. But, when I build the
Windows Service, it returns this compile error: The type name 'Service
Reference1' does not exist in the type AppScheduler.AppScheduler'. When I
clicked the error message it goes to Reference.cs file. When I do same
thing on Web project, it is working well. Any idea will be very helpful.

Thanks,
 
Joined
May 29, 2013
Messages
1
Reaction score
0
Go to the project properties and see the target framework. Some function will not work on Client Profiles. So change the framework non client profile and see.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top