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

top

Top 10 Bestselling Product Award 2007Top 25 Publisher Product Award 2007Top 10 Bestselling Product Award 2007 in JapanTop 25 Bestselling Product Award 2006Top 25 Bestselling Publisher Award 2006Reader's Choice Award, dot.net magazin, 3rd place