Re: namespaces, projects and solutions

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks for the info!

I saw that and figured that would be a possibility. I guess I was
hoping for something a little more straightforward. In some of the
Java editors that I have used, each file is in a separate tab, and the
active tab gets run (assuming that it has a main method). But those
are written with beginners in mind, whereas VS is really meant for
pro's.

I haven't tackled learning unit tests yet, but from what I have been
told, they are going to be overkill for what I am doing.

Thanks all!

On Nov 19, 1:12 pm, Jon Skeet [C# MVP] <sk...@xxxxxxxxx> wrote:
TomC <tom.cowd...@xxxxxxxxxxx> wrote:
OK, this sounds a little more logical.

So that brings up a follow-up question. VS does so much behind the
scenes for you, that I'm not sure how do do some basic things for
myself - which makes me feel very uncomfortable.

For example, let's say that I create the CircleGUI as my main
application, the Circle class, and a console test application to test
Circle. Pressing F5 in VS will run the main application, but how do I
run the test application without running the main one? I'm sure that
is a trivial matter, but I don't see an easy way to do it in the
menus.

Right-click on the relevant project and select "Set as start-up
project" (or something similar).

One of the nice things about having unit tests instead is that running
them tends to be a bit easier than keeping changing the startup project
:)

--
Jon Skeet - <sk...@xxxxxxxxx>http://www.pobox.com/~skeet Blog:http://www.msmvps.com/jon.skeet
World class .NET training in the UK:http://iterativetraining.co.uk

.