Skip to content

Commit

Permalink
docs: Adjust steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Oct 25, 2024
1 parent 72527e4 commit e377a05
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions doc/articles/uno-publishing-desktop.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ Create a file named `Properties\PublishProfiles\ClickOnceProfile.pubxml` in your
<PublishDir>bin\Release\net8.0-desktop\win-x64\app.publish\</PublishDir>
<PublishUrl>bin\publish\</PublishUrl>
</PropertyGroup>
<ItemGroup>
<!-- This section needs to be adjusted based on the target framework -->
<BootstrapperPackage Include="Microsoft.NetCore.DesktopRuntime.8.0.x64">
<Install>true</Install>
<ProductName>.NET Desktop Runtime 8.0.10 (x64)</ProductName>
</BootstrapperPackage>
</ItemGroup>
</Project>
```

Expand All @@ -107,6 +114,7 @@ To use the Visual Studio publishing wizard:
- Click the **+ New profile** button
- Select **ClicOnce**, then **Next**
- Configure your app publishing in all the following wizard pages
- In the **Configuration** section, make sure to select **Portable** for the **Target runtime**
- Click Finish.

The `Properties\PublishProfiles\ClickOnceProfile.pubxml` file will be created.
Expand All @@ -123,6 +131,10 @@ The resulting package will be located in the `bin\publish` folder. You an change

Depending on your deployment settings, you can run the `Setup.exe` file to install the application on a machine.

> [!IMPORTANT]
> At this time, publishing with the Visual Studio Publishing Wizard is not supported for
> multi-targeted projects. Using the command line above is required.
### macOS App Bundles

We now support generating `.app` bundles on macOS machines. From the CLI run:
Expand Down

0 comments on commit e377a05

Please sign in to comment.