Forked from CodePlex, then added support for Visual Studio 2019 and later.
Custom controls is a feature in TFS. It allows customer developed controls to be hosted in work item form. Those controls can implement various business logics or add additional functionality to work with the workitemform. Here is the info on how to build custom controls.
There are many functionalities that customers want to have in a work item form, and most can be build with using this feature and sometimes by supplementing with an addin. If you think a generic control can be built to address needs out there, you can help build it or suggest that idea for someone else to build it here.
The following controls are implemented in the current release:
- Screenshot controls: A control where users can paste screenshots & images.
- Web browser control: A control to host a web page and pass field values to that webpage.
- Multivalue control: A control to accept and show multiple values for a field by showing a list of checkboxes.
-
Install WiX
-
Install Wix Toolset Visual Studio Extension (From Visual Studio Marketplace, same version with VS, like 2019, 2022, etc.)
-
Install Visual Studio Team Explorer (Same version with VS also)
-
Install Microsoft.AspNet.WebPages (using NuGet):
Install-Package Microsoft.AspNet.WebPages
-
Add reference path of team explorer for the WitCustomControls project:
VS2019:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\
VS2022:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\