VStudio, Source control & Test Projects

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I usually like to have a console application in my solution to test libraries
I'm developing while writing them. (so I can set breakpoints in the
libraries and invoke code in them through the consoel app).

My question is... with Visual Studio, can I add a console application to my
source-controlled solution that does not get added to source control?

I ask becauase I know that the solution file itself is under source control.

Any help appreciated. Thanks

-Andrew
 
You can set compiler options on your test project so the console is not
compiled into the library. If you move the tester to another application, it
does not matter, however, as you can deploy the library without the tester.

One common method of testing is including nUnit test classes. You then
exclude them from the release compile and you avoid the extra weight.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top