How to set Author, Category Info from AssemblyInfo.ce file

  • Thread starter Thread starter Santosh
  • Start date Start date
S

Santosh

When you right click on file and select properties option,
some files have "Summary" tab.
Using ApplicationInfo.cs file we can set
"Company","Language","Version" etc..
which appeares under Version tab.
But how can I set "Author","Category","Title","Subject",e.t.c from
AssemblyInfo.cs file which appeares under Summary tab?
 
Santosh,

Those things aren't set by attributes in .NET. I believe in order to
set these things by default, you will have to build your project on the
command line, attaching a regular win32 resource with this information in it
(in the same manner that a C++ exe or assembly would do it).

Hope this helps.
 
Santosh,

Those things aren't set by attributes in .NET. I believe in order to
set these things by default, you will have to build your project on the
command line, attaching a regular win32 resource with this information in it
(in the same manner that a C++ exe or assembly would do it).

Hope this helps.

Wrong. These properties are stored as separated streams in a compound
file. This is an OLE (i.e COM based) protocol called SummaryInformation.
You will need to support OLE compound files AND the SummaryInformation
interface in order to implement this feature.
 
Back
Top