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 / General / March 2008

Tip: Looking for answers? Try searching our database.

How To Build The Currently Selected File Only?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dad - 17 Mar 2008 15:19 GMT
Hi,

How do you build (compile) the currently selected file only
rather than the entire project?  Often when editing several
files at once you don't want to wade through errors in all
files to get just one file to build.

Thanks,
Gary
Helge Kruse - 17 Mar 2008 17:20 GMT
Gary, that's easy.

- open Solution Explorer
- select file(s)
- right click on one file
- click Compile

/Helge

> Hi,
>
[quoted text clipped - 3 lines]
> Thanks,
> Gary
clintonG - 19 Mar 2008 20:42 GMT
or...

Use Solution Explorer to get properties on the [Solution|Project|Web Site]
and select the Build menu for options you can configure.

<%= Clinton Gallagher

> Gary, that's easy.
>
[quoted text clipped - 12 lines]
>> Thanks,
>> Gary
Deepak - 25 Mar 2008 17:13 GMT
Hello,

If I have a solution with many projects, how can I set teh build option such
that, only the project that I make changes to get rebuilt, and not all the
projects.
For example. If I have projects A to Z, first time, I build the entire
project, later on,  I make changes to only project A. I need to set build
option to rebuild only A and not B...Z. Yes, I can right click on A and say
Build only A, but then, how do I build then enire solution?
Thanks.
Helge Kruse - 26 Mar 2008 07:53 GMT
> Hello,
>
[quoted text clipped - 8 lines]
> Build only A, but then, how do I build then enire solution?
> Thanks.

Deepak,

it's not clear when you mean "build" and when "rebuild". Assuming you want
to rebuild project A and after that build (without rebuilding all) the
entire solution...

open Solution Explorer
right click at project A
context-menu: Project Only -> Rebuild Only A
right click at solution
context-menu: Build Solution

Hope that helps.

/Helge

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.