To publish a .NET Core project using the IDE

Attention: .NET Core on Linux is provided as an Early Adopter Program (EAP) feature only. It is being made available to allow you to test and provide feedback on the new capabilities. Be aware that file locking does not work in all instances, and may cause exceptions or the ignoring of file locks. We will continue the development of this feature and provide additional interfaces via patch updates and future releases. Please contact Micro Focus SupportLine if you require further clarification.
  1. Make sure that Visual Studio is building the required Debug or Release version of your application. If necessary, change the build configuration setting on the toolbar.
  2. Right-click the project in Solution Explorer and click Publish.

    The Publish dialog box is displayed.

  3. If a profile does not already exist for the platform that your application targets, create one:
    1. Click New Profile.

      The New Profile dialog box is displayed.

    2. Specify the folder where your application is to be published, then click Save.
      • If you are only publishing to one platform you don't need to change the default value in Choose a folder.
      • If you are going to be publishing to more than one platform, update the folder specified in Choose a folder to specify a subfolder that identifies the target platform. For example, if you are publishing to 32-bit Windows you could append "win-x86" to the file path.
    3. Give the profile a meaningful name:
      1. Click Actions > Rename Profile.

        The Rename Profile dialog box is displayed.

      2. Specify a name that identifies the target platform, then click Save.
    4. Specify the details of the application deployment:
      1. Click Configure.

        The Profile Settings dialog box is displayed.

      2. Specify the details for the deployment:
        1. Select Self-contained or Framework Dependent in the Deployment Mode list box.
        2. Select the required options from the other list boxes.
      3. Click Save.
  4. Select the profile to publish, then click Publish.