dotnet / dotnet/deployment-tools

Ability to set product name without changing assembly name

Open
#131 3 comments 0 reactions 1 assignee Claimed by @NikolaMilosavljevic View on GitHub
area-ClickOnce
Dominant language
C#
Stars
213
Forks
73
Avg merge
1d 21h
Merged PRs (30d)
4

Description

Hello! I was trying to use `dotnet-mage` to update the product name (assembly.description.name) of my application in the deployment manifest, but ran into a blocker: updating the product name also changes assemblyIdentity.name to the product name. They need to be different (product name is what's on the Start Menu, etc., while assembly name is a non-user-friendly assembly name), but `dotnet-mage` appears to have no way to set them separately.

The description of the `-Name` option says "The name that is used to identify the application. ClickOnce will use this name to identify the application in the Start menu (if the application is configured to install itself) and in Permission Elevation dialog boxes." That seems to imply it should update product name but not assembly name. My understanding of ClickOnce manifests is admittedly lacking so there could be a very good reason they're linked in your tool, though unfortunately in my situation they can't be the same (users would get an error upon startup due to the assembly identity name having changed).

In the meantime I'm simply using `sed` to update the manifest and then `dotnet-mage` to sign it, but it would be convenient to be able to do it all through the tool.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.