|
|
#1 |
|
Addicted Member
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
![]() |
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 |
|
|
|
|
|
#2 |
|
Frenzied Member
Join Date: Sep 04
Location: Saturn
Posts: 2,036
![]() ![]() |
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." |
|
|
|
|
|
#3 |
|
Addicted Member
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
![]() |
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Yupper..... Windows Class Library
gollnick
__________________
William E Gollnick |
|
|
|
|
|
#4 |
|
Frenzied Member
Join Date: Sep 04
Location: Saturn
Posts: 2,036
![]() ![]() |
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." |
|
|
|
|
|
#5 |
|
Addicted Member
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
![]() |
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 |
|
|
|
|
|
#6 |
|
Frenzied Member
Join Date: Sep 04
Location: Saturn
Posts: 2,036
![]() ![]() |
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." |
|
|
|
|
|
#7 |
|
Addicted Member
Join Date: Sep 02
Location: Hendersonville , NC
Posts: 171
![]() |
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Thanks anyway.. Wonder if anybody else has an idea..
gollnick
__________________
William E Gollnick |
|
|
|
|
|
#8 |
|
Hyperactive Member
Join Date: Apr 07
Location: New Zealand
Posts: 288
![]() |
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Are you trying to make a new form, skinned or something?
__________________
Signatures suck |
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|