Archived

This topic is now archived and is closed to further replies.

Excluding folders from build in VS.NET?

This topic is 5312 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Well I did it, I worked a couple hours to make a unit testing system that runs automatically after compilation of VS.net through command prompt scripting. It works great. Only problem is the testing files themselves. I''d like them to be in the project that they correspond to (makes sense, right), but VS.NET loves to compile everything in your project that is a CPP file. I know you can mark individual files as excluded from build, is there anything I can do when adding files? Or just make people use a custom file extension?

Share this post


Link to post
Share on other sites
quote:
Original post by antareus
I''d like them to be in the project that they correspond to (makes sense, right)

Actually, I always put unit tests in separate projects.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites