Implement Build Mode detection of assemblies and display it in Environment tab.
Add BuildMode property to EnvironmentAssemblyModel.
Private function IsAssemblyDebugBuild() to check for Debug attribute
Modified the Environment tab section display to include Build Mode column
Thanks to Steve Smith (@ardalis) for the tip and code to check if assembly is built in Debug
Implement Build Mode detection of assemblies in Environment tab. Than…
…ks to @ardalis for the tip and code to check if assembly is built in Debug
Looks great to me. I'll let @nikmd23 take a look and bring this one in.
thanks anthony :)
We can iterate less (for a performance boost) by filtering the attributes collection with this overload of .GetCustomAttributes():
foreach (var attribute in assembly.GetCustomAttributes(typeof(DebuggableAttribute), false))
@lohithgn also, we'll need you to sign our contributor license agreement.
You can email the completed form back to me. I use the same handle at gmail.com
Update to IsAssemblyDebugBuild. Used overloaded method of GetCustomAt…
…tributes and getting only debuggableattribute
Nik changed the code to use the overloaded method. signed and sent you the agreement.
Thanks @lohithgn! I've received the CLA and your changes look good.
I'm going to merge this in now and the feature will be available in our next release.
Also, thanks @ardalis for the idea!
This update has gone out. Huge thanks!
woo hoo ... great to hear that this is out :)