I have got few questions regarding creating windows service. I have created a windows service.But Im getting an error reagrding that. public partial class xyz : servicebase { public xyz() { InitializeCompoenent(); } }
it couldn't resolve InitializeComponent().Does anybody any reason. I have set it up out as console application instead of windows application.