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
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Did you use Windows Class Library project type?
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Yupper..... Windows Class Library
gollnick
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.
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
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Well i don't what else to suggest.
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Thanks anyway.. Wonder if anybody else has an idea..
gollnick
Re: Simple Question--Simple Answer? - No accessible 'Main' method
Are you trying to make a new form, skinned or something?