In this article I will explain step by step, how to publish web application in Visual Studio 2015.
 
 

Step by step publishing your application in Visual Studio 2015

1. Click on the Build tab from the menu and click on Publish Application as shown below.
Publish web application in Visual Studio 2015
 
2. From the PublishWeb Dialog window, select Custom option from Profile.
Publish web application in Visual Studio 2015
 
3. Then, the New Custom Profile Dialog window is displayed where you need to enter the Profile name and click on OK.
Publish web application in Visual Studio 2015
 
4. Now you need to select the File System from Publish method options.
Publish web application in Visual Studio 2015
 
5. After selecting Publish method, you will need to add the path of Target Location and click on Publish.
Publish web application in Visual Studio 2015
 
6. You will see the published files at targeted location.
Publish web application in Visual Studio 2015
 
Finally, open the bin folder and you will see the referenced DLL files.
Publish web application in Visual Studio 2015