Publish in local folder

Step 1:Right click on the solution explorer click on the publish then new popup window will open

Step 2: If you want to change the location then click on edit then new pop up window will open then click on target location and change the location and then create the new empty folder and click on next and then click on save button
Step 3: After change the location then click on publish to publish your project

Step 4: After click on publish you ca see your published file on which location you choose on step second