Tuesday, January 12, 2016

VS2015 UserControlTestContainer

UserControlTestContainer is a tool provided my Microsoft in Visual Studio to test the run-time behavior of UserControl. This tool is useful when come to verify properties of a user control especially during development phase.

In VS2010, the tool is automatically launched when we run a Class Library project which contains user control.

The tool is still shipped with VS2015, located at ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\UserControlTestContainer.exe". However, it is no longer launch from Visual Studio automatically.

The good news is we still can manually add this tool to Visual Studio 2015 IDE from "External Tools" using the following configuration for new tool entry. External Tools configuration window is located at Tools - External Tools..."
  • Title: UserControl Test Container
  • Command: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\UserControlTestContainer.exe
  • Arguments: $(TargetName)$(TargetExt)
  • Initial Directory: $(BinDir)
  • Prompt for arguments: Unchecked
This will bring back UserControlTestContainer back to VS2015.


Do you like our work? Appreciate if you could help to buy us a cup of coffee. Thank you.