Skip to content

[WIP] Enable publishing options in the Build menu#1939

Merged
RobertvanderHulst merged 3 commits into
mainfrom
claude/x3-enable-publishing-options
May 16, 2026
Merged

[WIP] Enable publishing options in the Build menu#1939
RobertvanderHulst merged 3 commits into
mainfrom
claude/x3-enable-publishing-options

Conversation

@Claude
Copy link
Copy Markdown
Contributor

@Claude Claude AI commented May 16, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>[X# 3] Enable Publishing</issue_title>
<issue_description>You can publish an app with Dotnet Publish.
The menu options should be enabled inside VS and a dialog needs to be added to set the publish options, such as the target OS, Self Contained and Single file deployment</issue_description>

<agent_instructions>Can you investigate what we need to do in our project System to Enable Publishing in the Build Menu. I tried to enable the "Publish" Menu options but that is not enough.
Our project system is based on MPF (Managed Project Framework),
And the same for the "Pack" menu option that creates the nuget package.</agent_instructions>

Comments on the Issue (you are @claude[agent] in this section)

- Add idPublishProject and idPackProject command IDs to Menus.vsct
- Add Publish and Pack buttons to project context menu
- Implement CommandPublish.cs with dotnet publish integration
- Implement CommandPack.cs with dotnet pack integration
- Create PublishDialog.xaml with options for target OS, self-contained, single file
- Update Menus.cs with new command IDs
- Add new files to ProjectPackage2022.csproj
- Add System.Windows.Forms reference for FolderBrowserDialog

Agent-Logs-Url: https://github.com/X-Sharp/XSharpPublic/sessions/7eff031e-40f9-40df-9a2f-106ce7951a82

Co-authored-by: RobertvanderHulst <14240939+RobertvanderHulst@users.noreply.github.com>
@RobertvanderHulst RobertvanderHulst marked this pull request as ready for review May 16, 2026 21:39
Copilot AI review requested due to automatic review settings May 16, 2026 21:39
@RobertvanderHulst RobertvanderHulst merged commit f7a4c75 into main May 16, 2026
1 of 2 checks passed
@RobertvanderHulst RobertvanderHulst deleted the claude/x3-enable-publishing-options branch May 16, 2026 21:39
@Claude Claude AI review requested due to automatic review settings May 16, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[X# 3] Enable Publishing

2 participants