Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing input Title prevents setting AssemblyTitleAttribute of .NET runtime (core) projects #359

Open
0xDB6 opened this issue Sep 20, 2023 · 1 comment

Comments

@0xDB6
Copy link

0xDB6 commented Sep 20, 2023

Issue

In order to show a user friendly display name in Task Manager, the File description field must be set. The AssemblyTitleAttribute controls the File description field of the assembly. However, Assembly-Info-NetCore@3 does not have a Title input and thus won't allow setting the AssemblyTitleAttribute.

Expected behavior

If set manually via code or by speciying the AssemblyTitle MSBuild property, the AssemblyTitleAttribue would set the File description as follows. The task should accept a Title input which sets the AssemblyTitleAttribute.

Note: AssemblyDescriptionAttribute, and thus the Description input of the task does not set this field.

image

@Davi-DemK
Copy link

That could be really useful directly at assembly info task. We have a lot of .NET Core projects and we can't change the "File description" with the same task as we change in .NET Framework using the Title field, because the description field as you said, isn't to change the "file description" in the details tab.

But u could add something like dotnet build /p:AssemblyTitle="Test Assembly title" before getting the DLLs. But if you are doing a publish after a build, you should add that parameter in the publish command too.

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

No branches or pull requests

2 participants