Skype:TextControlSupport
Orders:877-462-4772
TX Text Control - word processing components.
« »

BrowserTextControl: Using post-build events in Visual Studio

Blogged by Björn Meyer on May 07, 2008 and tagged with Visual Studio, Samples, BrowserTextControl.

When developing with TX Text Control .NET Server 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.

  1. Open your website's properties using the main menu Project entry.
  2. On the third tab, add the following command to the Post-build event comment line:

  3. "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" /cdl

« Prev:TX Text Control Blog is now integrated into the main web site
» Next:Resize images to fit into page

Comments

If you would like to comment on this blog entry, please post a comment.

External verification page for ISO 9000:2000 certificate
ISO 9001:2000
certified