开发者

Description of exe not showing up correctly for c# winforms app

开发者 https://www.devze.com 2023-01-05 03:58 出处:网络
I have a Winforms exe that I create with all of the default settings. My problem is I can\'t get the description to show up correctly in开发者_如何学运维 windows explorer.

I have a Winforms exe that I create with all of the default settings.

My problem is I can't get the description to show up correctly in开发者_如何学运维 windows explorer.

When I browse to my file in windows explorer and go to file properties, in the General tab it says:

Description: Product

But my assemblyInfo.cs file has the following:

[assembly: AssemblyTitle("Product")]
[assembly: AssemblyDescription("Product description")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Company")]
[assembly: AssemblyProduct("Product")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

How can I get it to say:

Description: Product Description

I verified the same thing with this exe in windows xp and windows 7


It's AssemblyTitle, not AssemblyDescription.

0

精彩评论

暂无评论...
验证码 换一张
取 消