What happens when you deploy to a folder in Visual Studio?
If the target folder is shared on a network, then deploying to the file system can make the web application files available to others who might then deploy it to specific servers. Starting with Visual Studio 2019 16.8, the folder target includes the ability to publish a .Net Windows application using ClickOnce.
How to publish a project in Visual Studio?
In the Download Group field, select from the drop-down list. In the New Group dialog box, enter a name for the group, and then click OK. With a project selected in Solution Explorer, on the Project menu, click Properties. Click the Publish tab. Click the Application Files button to open the Application Files dialog box.
How to publish or Unpublish a file SharePoint document?
Click the ellipses ( ), click the ellipses again ( ), and then click Publish a major version. Hover over the title of the document with your mouse, click the drop-down arrow, and click Publish a major version. The Publish Major Version dialog box opens. Enter a comment in the Comments field and then click OK.
Do you need to deploy an application to a file share?
You need only deploy the application to a file share from which others will deploy it to different servers. You need only a local test deployment. You want to examine and potentially modify the application files independently before sending them onto another deployment target.
How to deploy ASP.NET application in Visual Studio?
In the Publish tool, select the option you want and follow the configuration steps. For information on importing a publish profile in Visual Studio, see Import publish settings and deploy to IIS. You can also deploy ASP.NET applications and services in a number of other ways.
How to deploy to a new target in Visual Studio?
To deploy to a new target, if you have previously created a publish profile, select New from the Publish window for a configured profile. Then, choose a deployment option in the Publish window. For information on your publishing options, see the following sections.
Right-click on the HelloWorld project (not the HelloWorld solution) and select Publish from the menu. You can also select Publish HelloWorld from the main Visual Studio Build menu.
https://www.youtube.com/watch?v=pbNUJ20Yji0