To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic .NET

Reply Post New Thread
 
Thread Tools Display Modes
Old Jun 11th, 2007, 09:29 AM   #1
gollnick
Addicted Member
 
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
gollnick is an unknown quantity at this point (<10)
Simple Question--Simple Answer? - No accessible 'Main' method

Working on creating just a simple Forms Class (dll) -- just one form that can be used from multiple apps. Whenever I attempt to build I get this error and the build fails..

------ Build started: Project: XYZCorp.Security.Maintenance, Configuration: Debug Any CPU ------
Preparing resources...
Updating references...
Performing main compilation...
error VR8001: No accessible 'Main' method with an appropriate signature was found.
Build complete -- 1 error(s), 0 warning(s)
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========

Using ------ Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727


HELP.....


Thanks

gollnick
__________________
William E Gollnick
__________________
William E Gollnick
gollnick is offline   Reply With Quote
Old Jun 11th, 2007, 09:41 AM   #2
Asgorath
Frenzied Member
 
Asgorath's Avatar
 
Join Date: Sep 04
Location: Saturn
Posts: 2,036
Asgorath has a spectacular aura about (100+)Asgorath has a spectacular aura about (100+)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Did you use Windows Class Library project type?
__________________
"The dark side clouds everything. Impossible to see the future is."
Asgorath is offline   Reply With Quote
Old Jun 11th, 2007, 09:48 AM   #3
gollnick
Addicted Member
 
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
gollnick is an unknown quantity at this point (<10)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Yupper..... Windows Class Library

gollnick
__________________
William E Gollnick
gollnick is offline   Reply With Quote
Old Jun 11th, 2007, 09:55 AM   #4
Asgorath
Frenzied Member
 
Asgorath's Avatar
 
Join Date: Sep 04
Location: Saturn
Posts: 2,036
Asgorath has a spectacular aura about (100+)Asgorath has a spectacular aura about (100+)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Its should build fine even without code.Make sure project properties that startup object set to none.
__________________
"The dark side clouds everything. Impossible to see the future is."
Asgorath is offline   Reply With Quote
Old Jun 11th, 2007, 10:14 AM   #5
gollnick
Addicted Member
 
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
gollnick is an unknown quantity at this point (<10)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Hmm... was set at Begsr Main..... after failed looked again it was blank
Still no luck
__________________
William E Gollnick
gollnick is offline   Reply With Quote
Old Jun 11th, 2007, 11:10 AM   #6
Asgorath
Frenzied Member
 
Asgorath's Avatar
 
Join Date: Sep 04
Location: Saturn
Posts: 2,036
Asgorath has a spectacular aura about (100+)Asgorath has a spectacular aura about (100+)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Well i don't what else to suggest.
__________________
"The dark side clouds everything. Impossible to see the future is."
Asgorath is offline   Reply With Quote
Old Jun 11th, 2007, 11:14 AM   #7
gollnick
Addicted Member
 
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
gollnick is an unknown quantity at this point (<10)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Thanks anyway.. Wonder if anybody else has an idea..

gollnick
__________________
William E Gollnick
gollnick is offline   Reply With Quote
Old Jun 11th, 2007, 11:34 AM   #8
cptHotkeys
Hyperactive Member
 
cptHotkeys's Avatar
 
Join Date: Apr 07
Location: New Zealand
Posts: 288
cptHotkeys  is on a distinguished road (30+)
Re: Simple Question--Simple Answer? - No accessible 'Main' method

Are you trying to make a new form, skinned or something?
__________________

Signatures suck
cptHotkeys is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic .NET


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:40 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.