BrowserTextControl: Using Post-build Events in Visual Studio
When developing with TX Text Control Server for ASP.NET (incl. Windows Forms) and it's BrowserTextControl class, you might have learned that you need to clear the .NET download cache (dl3) everytime you create a new version of the wrapping user control. Otherwise, Internet Explorer won't download the user control again due to the fact that the codebase has been modified. This only happens on the development machine. In production, if the server provides a new version of the user control,…

When developing with TX Text Control Server for ASP.NET (incl. Windows Forms) and it's BrowserTextControl class, you might have learned that you need to clear the .NET download cache (dl3) everytime you create a new version of the wrapping user control. Otherwise, Internet Explorer won't download the user control again due to the fact that the codebase has been modified.
This only happens on the development machine. In production, if the server provides a new version of the user control, Internet Explorer downloads this new version in order to install it in the .NET download cache.
To avoid cleaning the download cache manually using the Visual Studio command line, you can add this command to the post-build events of Visual Studio.
- Open your website's properties using the main menu Project entry.
- On the third tab, add the following command to the Post-build event comment line:
"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /cdl
Related Post
TX Text Control .NET for Windows Forms Licensing
In this blog entry, I would like to explain the required steps to force Visual Studio to compile a specific license into a .NET application. This article should help you, if you get the following…