dotnet / dotnet/msbuild

[Feature Request]: File Version Info customization is limited

Open
#9,365 4 comments 0 reactions 0 assignees View on GitHub
Feature Request gathering-feedback triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Summary

The File Version Info customization is very limited. For example, while you can set the output `File Version`, `Copyright`, `Company`, you cannot set the `File description` field, or the `Original filename` field.

(The fields I'm talking about)
![image](https://github.com/dotnet/msbuild/assets/61495410/e1974bb7-af1a-4621-91c0-56b4dd431410)

If there is an existing work-around, please let me know because it's a bit urgent for me.

### Background and Motivation

I'm currently working on an application that has a custom exe name, but its process name (in task manager) should be something else. The problem is that the task manager takes the `File description` field as the process name.

As for the `Original filename` field, my built application has to be renamed after it's built and I don't want to reveal the original name of the application, so I want to replace the field value with something else.

### Proposed Feature

Both could have their own csproj properties.
For example:
```xml
Hello World
CoolApp.exe
```

### Alternative Designs

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.