Open Source Utilities For Analyzing .NET Objects

Friday, July 27, 2012

UI test automation with Coded UI is all about mapping the controls of the target application so that a UI test procedure could be run automatically, invoking controls and make assertions. Certain controls of the target application might be cumbersome to detect. Here’s some tools that can come in handy when the Coded UI Test Builder have troubles finding your controls. wfSpy - The Windows Forms Spy Utility https://github.com/cplotts/wfSpy Good for: Analyzing .NET WinForms applications Supported Frameworks: 1.1 – 4.0 Supports 64-bit: No Snoop - the WPF Spy Utility...
one comment

WPFToolkit: MarkupCompilePass1 failed with error MC1000: Unknown build error, ‘Cannot resolve dependency to assembly’

Wednesday, February 22, 2012

MSBuild has grown to quite a robust level since its introduction on 2003 and its inclusion in .NET Framework 2.0 in 2005. While its core engine and targets are rock-solid consistent, sometimes there are cases where the later additions introduced in .NET 3.5 and 4.0 just don't keep up with same level of stability. Today I had one of these cases. It came from WPF's Microsoft.WinFX.targets: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets(269,9): error MC1000: Unknown build error, 'Cannot resolve dependency to assembly 'bar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded...
no comments

Installing a User Account Service Unattended (Part 1)

Friday, December 30, 2011

In many productions environments, Windows Services required to run under a privileged domain account. NET services consume the Installer Class foundation to control its installation flow. In most cases, your .NET service ends up packaged in MSI installer which automates the actions InstallUtil does in command line. But what if you want to install a user account service automatically without bothering the user (other than the service account user\password entries) with post installation actions? Commonly MSI authors will use the ServiceInstall Table which allows runtime entry of username (‘StartName’ column) and password among other properties. However, in case the...
one comment