vb.net - WCF 'sub main' not found -


i must losing mind...

after getting test wcf hosted in windows service, i'm trying 1 (practice, practice, practice).

i created wcf service library, added 1 function. created windows service, , added wcf project. did rest of stuff located here (http://joefreeman.co.uk/blog/2010/03/creating-a-setup-project-for-a-windows-wcf-service-with-visual-studio/)

now i'm getting "sub mian not found in [wcf app]" error when try build solution.

i didn't think wcf projects required sub main services , not applications. doing wrong? didn't have sub main in last project. ideas?

the wcf service doesn't need sub main, windows service does.

compare against built, working windows service.

edit: using c#, when create new project using windows service template, following initial code in program.cs file (static void main sub main). i'd very surprised if don't have in windows service.

static class program {     /// <summary>     /// main entry point application.     /// </summary>     static void main() 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -