Re: namespaces, projects and solutions
- From: TomC <tom.cowdery@xxxxxxxxxxx>
- Date: Mon, 19 Nov 2007 11:28:27 -0800 (PST)
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
.
- References:
- namespaces, projects and solutions
- From: TomC
- Re: namespaces, projects and solutions
- From: Jon Skeet [C# MVP]
- Re: namespaces, projects and solutions
- From: TomC
- Re: namespaces, projects and solutions
- From: Jon Skeet [C# MVP]
- namespaces, projects and solutions
- Prev by Date: Re: Embed FolderBrowserDialog on form?
- Next by Date: Visual Studio 2008 released
- Previous by thread: Re: namespaces, projects and solutions
- Next by thread: Re: Drag-n-Drop To Icon/Shortcut to Initiate A Task
- Index(es):