Alex Rivera | Logout

Where to find the assembly configuration information?

Asked 2011-04-19T16:34:21.283
12

in AssemblyInfo.cs file I have following subection:

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

Where this information can be seen after assembly is built ? Since there is nothing about it in file details:

enter image description here

where else can it be found ?

Regards

Edit
Report

2 Answers

3

You can use ILDASM.exe to look at the compiled assembly. See http://msdn.microsoft.com/en-us/library/ceats605.aspx for info on using ILDASM.exe.

Or you may use Reflection to look at it via code, such as System.Reflection.Assembly.GetExecutingAssembly().GetCustomAttributes()

answered 2011-04-19T16:43:19.240
1

The Windows Explorer property sheet pulls that information from the win32 VERSIONINFO resources. A number of assembly attributes can be mapped to win32 resource fields (and will be set by the build) but it may be that the AssemblyConfiguration attribute is not one of them.

If you want to look at all assembly attributes, including those that don't set win32 resource fields, .NET Reflector is one option.

answered 2011-04-19T16:38:59.073

Your Answer