Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 3.33 KB

quickstart-deploy-to-local-folder.md

File metadata and controls

67 lines (43 loc) · 3.33 KB
title ms.date ms.topic helpviewer_keywords ms.assetid author ms.author manager ms.workload
Deploy to a local folder
01/29/2019
quickstart
deployment, local folder
adb461c4-812a-4b8c-b2ab-96002379f6a9
mikejo5000
mikejo
jillfra
multiple

Deploy an app to a folder using Visual Studio

You can use the Publish tool to publish ASP.NET, ASP.NET Core, .NET Core, and Python apps to a folder from Visual Studio. For Node.js, the steps are supported but the user interface is different.

[!INCLUDE quickstart-prereqs]

Note

If you need to publish a Windows desktop application to a folder, see Deploy a desktop app using ClickOnce (C# or Visual Basic). For C++/CLR, see Deploy a native app using ClickOnce or, for C/C++, see Deploy a native app using a Setup project.

Deploy to a local folder

  1. In Solution Explorer, right-click the project and choose Publish (or use the Build > Publish menu item).

    The Publish command on the project context menu in Solution Explorer

  2. If you have previously configured any publishing profiles, the Publish window appears. Select New.

  3. In the Publish window, select Folder.

    Choose folder as a publish target

  4. Enter a path or select Browse to specify a folder.

    Specify the path to the folder

  5. Select Publish. Visual Studio builds the project and publishes it to the specified folder. The project properties Publish pane appears, showing a profile summary.

    Publish property pane showing a profile summary

  6. To configure deployment settings, select Edit in the publish profile summary and select the Settings tab.

    The settings you see depend on your application type. The following illustration shows example settings for an ASP.NET Core app.

    Profile settings

    For additional help to choose settings in .NET, see the following:

  7. Configure options such as whether to deploy a Debug or Release configuration, and then select Save.

  8. To republish, select Publish.

Deploy the published files in any way you like. For example, you can package them in a .zip file, use a simple copy command, or deploy them with any installation package of your choice.

Next steps

For .NET apps: