tags:

views:

296

answers:

2

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?)

A: 

It's even easier now: In explorer, switch to details view, then add the column "file description".

Sofahamster
That's not the field I am looking for. AssemblyTitle goes into "File Description", AssemblyDescription goes into ???
chris
+2  A: 

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:

PowerShell

([diagnostics.FileVersionInfo]::GetVersionInfo($path)).Comments

C#

System.Diagnostics.FileVersionInfo.GetVersionInfo(path).Comments
xcud