VStudio, Source control & Test Projects

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
 
G

Guest

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!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top