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

Step by step publishing your application in Visual Studio 2010

1. Click on the Build tab from the menu and click on Publish Application as shown below.
Publish web application in Visual Studio 2010
 
2. From the Publish Web Dialog window, File System is selected from Publish method.
Publish web application in Visual Studio 2010
 
3. After selecting Publish Method, you will need to add the path Target Location and click on Publish.
Publish web application in Visual Studio 2010
 
4. As you can see, the Publish folder is created at targeted location.
Publish web application in Visual Studio 2010
 
Finally, open the bin folder and you will see the referenced DLL files.
Publish web application in Visual Studio 2010