Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / September 2004

Tip: Looking for answers? Try searching our database.

How can I add a cpp file to Visual Studio .Net that I do not want compiled in a build?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ed - 25 Sep 2004 21:25 GMT
How can I add a .cpp to Visual Studio .Net that I do not want compiled
in a build?

I have a C++ project, and I want to have some unit test classes in the
project. However, I do not want them compiled in VS because I haven't
gotten cppunit configured for VS. Hence, I would only get errors when
I compile.I am using a makefile to compile the unit tests separately.

However, I would still like to use Intellisense in VS for editing the
unit test classes.

Is this even possible?

Thanks.
Chua Wen Ching - 26 Sep 2004 14:19 GMT
Hi Ed,

In VS.NET 2003, click on the cpp file you want to disable from being built,
then inside the property window, you can see

Excluded from Build: change no to yes

Then you are done :)

Hope i solve your problems.

Regards,
Chua Wen Ching

> How can I add a .cpp to Visual Studio .Net that I do not want compiled
> in a build?
[quoted text clipped - 10 lines]
>
> Thanks.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.