Option to delete config replacement files after build RRS feed

  • Question

  • User-953368566 posted

    Can we have the option in the WDP GUI of deleting the web.config replacement files from the output directory after the sections in web.config have been replaced?

    Sunday, December 2, 2007 7:24 PM

All replies

  • User-592590055 posted

    Try this in the wdproj file:

       <Target Name="AfterBuild">
        <Delete Files="$(OutputPath)\yourconfig.config"></Delete>

     replace yourconfig.config with the name of your config file



    Monday, April 14, 2008 11:11 AM
  • User796746907 posted

    This functionality is currently not supported in the UI.  You will have to create your own custom AfterBuild task as suggested.

    Friday, May 9, 2008 9:09 PM