With Visual Studio Team Services (VSTS), Microsoft offers services for teams to share code and track their work. A major feature is the continuous integration support for projects. Hosted build agents can build the projects immediately or based on your specifications. Continuous Integration (CI) is a development practice where each check-in is verified by an automated build which enables teams to detect problems at an early stage.
Text Control products are licensed on a per-developer basis. Each developer who uses our products must have their own, assigned license. If you are using a build server, all developers that check-in code, that uses TX Text Control classes, need their own license.
On hosted build machines provided by Visual Studio Team Services, no third-party software can be installed.
In order to use VSTS hosted build agents, the license must be compiled manually and the TX Text Control references must be copied to the BIN folder. On a local developer machine, the TX Text Control setup must be installed in order to compile the projects. The licenses are compiled automatically into the project assembly.
In order to prepare a project for Visual Studio Team Services, the license must be compiled manually. Generate the license resource file using following Visual Studio command line:
"%Compiler Path%\lc.exe" /target:MyApplication.exe /complist:licenses.licx /i:"%Assembly Path%\TXTextControl.Windows.Forms.dll"
- %Compiler Path% is a path to the lc.exe tool (for example, C:\Program Files\Microsoft.NET\SDK\v2.0\Bin).
- MyApplication.exe is name of the executable project assembly.
- licenses.licx is a text file in the project folder.
- %Assembly Path% is the TX Text Control installation Assembly folder.
The licenses.licx must contain one of the following license entries (learn more here):
The license compiler will generate the 'MyApplication.exe.licenses' resource file. Add this file to your project as an embedded resource and remove the licenses.licx from the project.
Additionally, add the used TX Text Control assemblies to your project and set the Copy to Output Directory to Copy always.
If you start build processes in Visual Studio Team Services now, they will pass without license or dependency errors.