views:

279

answers:

2

Is there a way to make assembly attributes show up when you right click-> Properties->details on an exe? I know about the standard ones but I want to add my own (e.g. Email).

Edit: Also if there is a way to do this post build, that would be fine.

+1  A: 

Haven't seen a pure .NET solution, but perhaps you could you combine this with this?

Si
+1  A: 

The information on the Version tab is retrieved from the executable's VERSIONINFO resource (we're talking native Win32 resources here, not managed resources). By default the compiler will take information from some of the Assembly attributes and put into the VERSIONINFO resource. Unfortunately you can't change which attributes the compiler uses here, so you can't include your own information this way.

But if you really want you can create your own VERSIONINFO resource and put in a .RES file and embed in your executable using the Csc.exe /win32res compiler option.

Mattias S