Add-In:Adding a custom Web User Control using a Add In RRS feed

  • Question

  • I tried create a Add In to add a custom Web User control to the webProject. I used below code to do it.
    DTE2.DTE.ItemOperations.AddNewItem(@"Visual C#\Web User Control", @"Event_Loop.ascx");

    I could able to create the file but the code behind file is not generated.How to generate the user control with the code behind class file?.

    Using Visual Studio 2010

    Saturday, February 26, 2011 8:28 PM