HI
If I understand properly, This is the solution
first check DEBUG in project properties. This part of code will only run in debug mode
Thanks and RegardsCode:#if DEBUG Assembly a = Assembly.LoadFrom ( assemblyName ) ; object[] attributes = a.GetCustomAttributes( true ) ; if ( attributes.Length > 0 ) { Console.WriteLine ( "Assembly attributes for '{0}'..." , assemblyName ) ; foreach ( object o in attributes ) Console.WriteLine ( " {0}" , o.ToString ( ) ) ; #end if
Ravi.Battula




Reply With Quote