Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 4th, 2006, 02:39 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal
Default could not find WindowsApplication1.program ??

Hi...

   I had created a windows application using c#. Initially the solution file name as well as the namespace was WindowsApplication1,which is the default. But then i renamed the solution as WinService. The namespace is also changed as WinService. But when i try to run the project, i am getting an error as : Could not find 'WindowsApplication1.Program' specified for Main method WinService. It is also not showing any line numbers.

I searched in all my doucments and program.cs file, but i couldnt locate WindowsApplication1, as i had changed everything to WinService.

what is wrong? Please help



 
Old December 4th, 2006, 04:40 AM
Authorized User
 
Join Date: Feb 2006
Posts: 63
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Hannibal
Default

Hi..

   I found out the solution. I changed the project properties to the WinService.Program. The project is working.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Word Doc from Access - find, find next save donaldmaloney Access VBA 1 May 25th, 2005 11:09 AM
Setup Project: Program not added in Start>Program arif_1947 VS.NET 2002/2003 2 March 31st, 2005 06:40 AM
Start a program inside another program Silje Classic ASP Professional 1 November 16th, 2004 02:08 AM
Create a find and a find and replace in VB.NET snowy0 VB How-To 0 January 26th, 2004 07:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.