How can I set the application file description in .NET 8?

Alessandro Guizzetti 25 Reputation points
2024-06-01T15:41:05.07+00:00

Hi,

I'm building an application in .NET 8 and I can't find the option to set the exe file description, the one displayed in Task Manager as the application name. I was able to do it in .NET Framework, but now it just displays the exe file name (assembly name).

I can't even find the option in the .csproj file.Screenshot 2024-06-01 173742

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,187 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,005 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,166 questions
0 comments No comments
{count} vote

Accepted answer
  1. Bruce (SqlWork.com) 66,461 Reputation points
    2024-06-01T16:12:52.1833333+00:00

    The assembly info is specified in the project file. See:

    https://learn.microsoft.com/en-us/dotnet/standard/assembly/set-attributes-project-file


1 additional answer

Sort by: Most helpful
  1. Tobias Kolb 0 Reputation points
    2024-08-27T07:01:18.3266667+00:00

    This looks be a bug in VS (see discussion)


    TLDR:

    Add an additional XML tag into the project file (which has the irritating name 'title'):

    <AssemblyTitle>Your description</AssemblyTitle>


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.