Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to AssemblyDescription in Windows 7?

Tags:

.net

windows-7

We were using the AssemblyDescription attribute to add notes to our assemblies (e.g. fix/branch info).

The text was visible on XP in the file Properties/Comments. However in Windows 7 this field has been hidden.

Is there a way to show this field in explorer or any other tool?

Does MS explain anywhere why this field was removed and what we should use instead? (AssemblyTitle?)

like image 990
laktak Avatar asked Feb 24 '10 15:02

laktak


2 Answers

In my test assembly I have this defined in my AssemblyInfo.cs

[assembly: AssemblyDescription("this is a description")] 

I can use either of these lines to retrieve that text from the resultant assembly:

via PowerShell

(dir $path).VersionInfo.Comments 

via C#

System.Diagnostics.FileVersionInfo.GetVersionInfo(path).Comments 
like image 141
xcud Avatar answered Sep 24 '22 12:09

xcud


If you want to display AssemblyDescription in Windows 7 Explorer, you will need a custom shell extension, like the following:

  • VersionTab
like image 20
DAC Avatar answered Sep 23 '22 12:09

DAC