Select Project Build Order In Visual Studio 2015


In this tutorial, we will learn how to set the build order in Visual Studio’s project.

You can set your project build order by right click on ‘Project Solution’ and select “Select Project Build Order” option.

enter image description here
For Example, I have a WpfFormApplicaiton1 and two class with title “ClassLibrary1” and “ClassLibrary2”. By default Visual Studio sets it as follow:

enter image description here
My requirement is such as “ClassLibrary2” will be used by “ClassLibrary1” & “ClassLibrary1” will be used by “WpfFormApplication1”. So, in order to fulfill this requirement I have to change the default project build order.
Go to Project Dependencies; Select the “ClassLibrary1” and set the “ClassLibrary2” as its dependency.

enter image description here
Similary, select the “WpfFormApplication1” and set the “ClassLibrary1” as its dependency.

enter image description here
Now, the desired project build order is set; confirmed by Project Build Order’s options.

enter image description here

Hope you like this tutorial. Please provide your valuable feedback.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s