create a project from code

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default create a project from code

    Hi all

    Is it possible to create an ASP.NET project from code?

    Thanks in advance

    Vaclav


    Vaclav Jedlicka Guest

  2. Similar Questions and Discussions

    1. ISAPI Authentication and VS.net create Project on remote server
      I have a server that uses a corporate custom authentication method via an ISAPI dll configured through IIS. The problem is that I am trying to...
    2. unable to create Web project
      John Baima wrote: This problem really sucks and the docs are really bad. Here are the three things I found which solved the problem for me : ...
    3. cannot create project in .NET
      I've WinXP + IIS 5.1. The server works without any problem, i.e., when I trying http://localhost/index.asp it executes the script index.asp. But...
    4. still can't create asp.net project in vs.net 2003
      1. How do you know that iis is installed? To make sure hit the server with the browser http://127.0.0.1 If it comeback with something then you are...
    5. Importing Code Warrior project on XCode....
      Hi All, I am tring to build the project on XCode which is imported from Code Warrior.While I try to build this project lots of compile errors occur...
  3. #2

    Default Re: create a project from code

    Visual Studio .Net does it all the time. What exactly are you asking?

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Some things just happen.
    Everything else occurs.

    "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > Hi all
    >
    > Is it possible to create an ASP.NET project from code?
    >
    > Thanks in advance
    >
    > Vaclav
    >
    >

    Kevin Spencer Guest

  4. #3

    Default Re: create a project from code

    I need to create a VS project from code, not manualy.


    "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> píše v diskusním příspěvku
    news:uKnDxpKRDHA.2592@TK2MSFTNGP10.phx.gbl...
    > Visual Studio .Net does it all the time. What exactly are you asking?
    >
    > HTH,
    >
    > Kevin Spencer
    > Microsoft FrontPage MVP
    > Internet Developer
    > [url]http://www.takempis.com[/url]
    > Some things just happen.
    > Everything else occurs.
    >
    > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > Hi all
    > >
    > > Is it possible to create an ASP.NET project from code?
    > >
    > > Thanks in advance
    > >
    > > Vaclav
    > >
    > >
    >
    >

    ---
    Odchozí zpráva neobsahuje viry.
    Zkontrolováno antivirovým systémem AVG ([url]http://www.grisoft.cz[/url]).
    Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003


    Václav Jedlička Guest

  5. #4

    Default Re: create a project from code

    Do you mean that you want to create all of the project files, solution
    files, etc. from an application?

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Some things just happen.
    Everything else occurs.

    "Václav Jedlička" <vjedlicka@iol.cz> wrote in message
    news:e1zXabLRDHA.2228@tk2msftngp13.phx.gbl...
    > I need to create a VS project from code, not manualy.
    >
    >
    > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> píše v diskusním
    příspěvku
    > news:uKnDxpKRDHA.2592@TK2MSFTNGP10.phx.gbl...
    > > Visual Studio .Net does it all the time. What exactly are you asking?
    > >
    > > HTH,
    > >
    > > Kevin Spencer
    > > Microsoft FrontPage MVP
    > > Internet Developer
    > > [url]http://www.takempis.com[/url]
    > > Some things just happen.
    > > Everything else occurs.
    > >
    > > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > > news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > > Hi all
    > > >
    > > > Is it possible to create an ASP.NET project from code?
    > > >
    > > > Thanks in advance
    > > >
    > > > Vaclav
    > > >
    > > >
    > >
    > >
    >
    >
    > ---
    > Odchozí zpráva neobsahuje viry.
    > Zkontrolováno antivirovým systémem AVG ([url]http://www.grisoft.cz[/url]).
    > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
    >
    >

    Kevin Spencer Guest

  6. #5

    Default Re: create a project from code

    Exactly.

    Why I need it?
    I am developing an application generator which generates ASP.NET projects.
    So far it generates the ASPX and CS files, but I also need to create the VS
    projects which would contain them. The user would specify only the project
    name and the code would create a VS project, and the virtual folder in IIS.
    Then it would add the ASPX and CS files to the project.
    Something like automation in the days of COM, but I would like to do it from
    ..NET code (I use c#).

    Thanks
    Vaclav


    "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> wrote in message
    news:%239vWA0LRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > Do you mean that you want to create all of the project files, solution
    > files, etc. from an application?
    >
    > HTH,
    >
    > Kevin Spencer
    > Microsoft FrontPage MVP
    > Internet Developer
    > [url]http://www.takempis.com[/url]
    > Some things just happen.
    > Everything else occurs.
    >
    > "Václav Jedlička" <vjedlicka@iol.cz> wrote in message
    > news:e1zXabLRDHA.2228@tk2msftngp13.phx.gbl...
    > > I need to create a VS project from code, not manualy.
    > >
    > >
    > > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> píse v diskusním
    > příspěvku
    > > news:uKnDxpKRDHA.2592@TK2MSFTNGP10.phx.gbl...
    > > > Visual Studio .Net does it all the time. What exactly are you asking?
    > > >
    > > > HTH,
    > > >
    > > > Kevin Spencer
    > > > Microsoft FrontPage MVP
    > > > Internet Developer
    > > > [url]http://www.takempis.com[/url]
    > > > Some things just happen.
    > > > Everything else occurs.
    > > >
    > > > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > > > news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > > > Hi all
    > > > >
    > > > > Is it possible to create an ASP.NET project from code?
    > > > >
    > > > > Thanks in advance
    > > > >
    > > > > Vaclav
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    > > ---
    > > Odchozí zpráva neobsahuje viry.
    > > Zkontrolováno antivirovým systémem AVG ([url]http://www.grisoft.cz[/url]).
    > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
    > >
    > >
    >
    >

    Vaclav Jedlicka Guest

  7. #6

    Default Re: create a project from code

    I believe most if not all of what you're looking for is in the Microsoft.Vsa
    NameSpace. Unfortunately, this Namespace is almost completely undocumented
    at this time. I did, however, find a listing of some articles on the MSDN
    site that may be helpful to you:

    [url]http://msdn.microsoft.com/netframework/using/building/tools/default.aspx[/url]

    HTH,

    Kevin Spencer
    Microsoft FrontPage MVP
    Internet Developer
    [url]http://www.takempis.com[/url]
    Some things just happen.
    Everything else occurs.

    "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    news:eyYln6RRDHA.1072@TK2MSFTNGP10.phx.gbl...
    > Exactly.
    >
    > Why I need it?
    > I am developing an application generator which generates ASP.NET projects.
    > So far it generates the ASPX and CS files, but I also need to create the
    VS
    > projects which would contain them. The user would specify only the project
    > name and the code would create a VS project, and the virtual folder in
    IIS.
    > Then it would add the ASPX and CS files to the project.
    > Something like automation in the days of COM, but I would like to do it
    from
    > .NET code (I use c#).
    >
    > Thanks
    > Vaclav
    >
    >
    > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> wrote in message
    > news:%239vWA0LRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > Do you mean that you want to create all of the project files, solution
    > > files, etc. from an application?
    > >
    > > HTH,
    > >
    > > Kevin Spencer
    > > Microsoft FrontPage MVP
    > > Internet Developer
    > > [url]http://www.takempis.com[/url]
    > > Some things just happen.
    > > Everything else occurs.
    > >
    > > "Václav Jedlička" <vjedlicka@iol.cz> wrote in message
    > > news:e1zXabLRDHA.2228@tk2msftngp13.phx.gbl...
    > > > I need to create a VS project from code, not manualy.
    > > >
    > > >
    > > > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> píse v diskusním
    > > příspěvku
    > > > news:uKnDxpKRDHA.2592@TK2MSFTNGP10.phx.gbl...
    > > > > Visual Studio .Net does it all the time. What exactly are you
    asking?
    > > > >
    > > > > HTH,
    > > > >
    > > > > Kevin Spencer
    > > > > Microsoft FrontPage MVP
    > > > > Internet Developer
    > > > > [url]http://www.takempis.com[/url]
    > > > > Some things just happen.
    > > > > Everything else occurs.
    > > > >
    > > > > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > > > > news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > > > > Hi all
    > > > > >
    > > > > > Is it possible to create an ASP.NET project from code?
    > > > > >
    > > > > > Thanks in advance
    > > > > >
    > > > > > Vaclav
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > >
    > > >
    > > > ---
    > > > Odchozí zpráva neobsahuje viry.
    > > > Zkontrolováno antivirovým systémem AVG ([url]http://www.grisoft.cz[/url]).
    > > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
    > > >
    > > >
    > >
    > >
    >
    >

    Kevin Spencer Guest

  8. #7

    Default Re: create a project from code

    Thank you

    That namespace is really undocumented and I do not know how to use it, so I
    think I will have to create all the project files (.sln, .suo, .csproj,
    ..csproj.webinfo) from code.

    Vaclav

    "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> wrote in message
    news:u$cDKYVRDHA.2188@TK2MSFTNGP10.phx.gbl...
    > I believe most if not all of what you're looking for is in the
    Microsoft.Vsa
    > NameSpace. Unfortunately, this Namespace is almost completely undocumented
    > at this time. I did, however, find a listing of some articles on the MSDN
    > site that may be helpful to you:
    >
    > [url]http://msdn.microsoft.com/netframework/using/building/tools/default.aspx[/url]
    >
    > HTH,
    >
    > Kevin Spencer
    > Microsoft FrontPage MVP
    > Internet Developer
    > [url]http://www.takempis.com[/url]
    > Some things just happen.
    > Everything else occurs.
    >
    > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > news:eyYln6RRDHA.1072@TK2MSFTNGP10.phx.gbl...
    > > Exactly.
    > >
    > > Why I need it?
    > > I am developing an application generator which generates ASP.NET
    projects.
    > > So far it generates the ASPX and CS files, but I also need to create the
    > VS
    > > projects which would contain them. The user would specify only the
    project
    > > name and the code would create a VS project, and the virtual folder in
    > IIS.
    > > Then it would add the ASPX and CS files to the project.
    > > Something like automation in the days of COM, but I would like to do it
    > from
    > > .NET code (I use c#).
    > >
    > > Thanks
    > > Vaclav
    > >
    > >
    > > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> wrote in message
    > > news:%239vWA0LRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > > Do you mean that you want to create all of the project files, solution
    > > > files, etc. from an application?
    > > >
    > > > HTH,
    > > >
    > > > Kevin Spencer
    > > > Microsoft FrontPage MVP
    > > > Internet Developer
    > > > [url]http://www.takempis.com[/url]
    > > > Some things just happen.
    > > > Everything else occurs.
    > > >
    > > > "Václav Jedlička" <vjedlicka@iol.cz> wrote in message
    > > > news:e1zXabLRDHA.2228@tk2msftngp13.phx.gbl...
    > > > > I need to create a VS project from code, not manualy.
    > > > >
    > > > >
    > > > > "Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> píse v diskusním
    > > > příspěvku
    > > > > news:uKnDxpKRDHA.2592@TK2MSFTNGP10.phx.gbl...
    > > > > > Visual Studio .Net does it all the time. What exactly are you
    > asking?
    > > > > >
    > > > > > HTH,
    > > > > >
    > > > > > Kevin Spencer
    > > > > > Microsoft FrontPage MVP
    > > > > > Internet Developer
    > > > > > [url]http://www.takempis.com[/url]
    > > > > > Some things just happen.
    > > > > > Everything else occurs.
    > > > > >
    > > > > > "Vaclav Jedlicka" <vjedlicka@iol.cz> wrote in message
    > > > > > news:OCwrAzJRDHA.2316@TK2MSFTNGP12.phx.gbl...
    > > > > > > Hi all
    > > > > > >
    > > > > > > Is it possible to create an ASP.NET project from code?
    > > > > > >
    > > > > > > Thanks in advance
    > > > > > >
    > > > > > > Vaclav
    > > > > > >
    > > > > > >
    > > > > >
    > > > > >
    > > > >
    > > > >
    > > > > ---
    > > > > Odchozí zpráva neobsahuje viry.
    > > > > Zkontrolováno antivirovým systémem AVG ([url]http://www.grisoft.cz[/url]).
    > > > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
    > > > >
    > > > >
    > > >
    > > >
    > >
    > >
    >
    >

    Vaclav Jedlicka Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139