locked
Code Model - Add using statement imports RRS feed

  • Question

  • I think the title says it all. I have had to manually search for imports and add them to the document as text. It seems that the code model should support this.

    Something like CodeModel.AddImport(import) would be nice. 

     

    Friday, February 3, 2012 8:33 PM

Answers

  • Something like this?

    Ryan

    • Proposed as answer by lucy-liu Monday, February 6, 2012 6:26 AM
    • Marked as answer by lucy-liu Friday, February 10, 2012 5:10 AM
    Sunday, February 5, 2012 6:37 PM