EXTREME NEWBIENESS: How to RUN SOMETHING in VS2005?

Dear Experts,

This is a humiliating question to have to post in public, but:

In VS2005, I have my first test project, and I just want to run it.  However, the only "run-type" option I can find is "debug", which just gives me some warnings.

The project currently consists of two classes.  One is basically a suite of utility methods, and the other does nothing but call one of those methods, for testing purposes.  The Main method is, obviously, in the latter.  

When (out of ignorance and desperation) I hit the green triangular "debug" button, it next goes to a warning in one of the utility methods that I am NOT calling.

I had been able to run a "hello, world" class, but now I'm not sure if I used "debug" to do it...

How do I just say "Run, starting with Main"?

Humiliatingly Yours,
BrianMc1958
BrianMc1958Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Hi BrianMc1958,

Check your project properties for the startup object.

Cheers!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BrianMc1958Author Commented:
OK.  It says "not set" and the whole page is grayed out.  What did I do wrong?  I TRYING to be a GOOD PERSON!
Bob LearnedCommented:
Brian,

When you created your project, what project type did you select?

Bob
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Éric MoreauSenior .Net ConsultantCommented:
It needs to be set to the class you want it to start first
BrianMc1958Author Commented:
To TheLearnedOne:  Uh, I was afraid you'd ask that.  I don't recall exactly.  I remember there was an option for something like "library / applet", which I didn't take.  I think I took the default, and I think that was something like "Windows Application".

--The UnLearnedOne
BrianMc1958Author Commented:
To emoreua:  When I go to Project > Properties, the "startup object" is "not set".  I assume I'm supposed to enter the name of the class containing my "Main" method.  But the whole page is grayed out.

Again, I'm a total newbie at VS2005 (or VSAnything), so I'm sure I'm missing something obvious...
BrianMc1958Author Commented:
Sorry.  I guess I was still in "debug mode".  I hit "stop", and then I could enter the name of my Main class.  Now VS2005 itself is crashing when I try to run.  Is that progress?  I'm not sure.

Thanks to both of you for your help.

--BrianMc1958
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.