How to-create VS.NET Solution/project files at runtime

Hello

i m developing application in c# which will generate 3 tier asp.net application based on database is provided

what i want is to generate visual studio web project, so that i can add my generated forms & classes in the project these are in the form of folders


after that i want to compile this generated solution at runtime

any idea any pointers


Answer this question

How to-create VS.NET Solution/project files at runtime

  • DBass63

    Hi,

    Is your problem solved

    Thank you,
    Bhanu.



  • Bobbyboy

    One way could be to take existing empty ASP.NET project files and modify them, you can use XmlDocument for that as project files are valid XML.

    You will then call msbuild to compile the project.
    http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx



  • How to-create VS.NET Solution/project files at runtime