none
Update Web.config file Dynamically using DTE in VSExtention RRS feed

  • Question

  • Hi Team,

    I have update Web.config file Dynamically using DTE but its Work only When Web.config file open. if Web.config File Close its throw Argument incrorrect Exception.

    doc = dte.Documents.Item(dte.Solution.FindProjectItem("web.config").Name);    
    
     doc.ReplaceText("assemblyName", "newAssemblyName");

      I need to update Web.config file Dynamically using DTE if file state open or Close. after update file it's not showing reload dialoguebox.Please any one tell me sloution.
    Tuesday, February 2, 2016 10:49 AM

All replies

  • JayaLakshmi,

    Sorry but you have posted to a forum that deals exclusively with questions/issues about customizing and programming Microsoft Project, a project management application. I suggest you re-post to the following forum:

    https://social.technet.microsoft.com/Forums/en-US/home?category=usingforums

    John

    Tuesday, February 2, 2016 3:46 PM