create a project from code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Vaclav Jedlicka

    #1

    create a project from code

    Hi all

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

    Thanks in advance

    Vaclav


  • Kevin Spencer

    #2
    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
    All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

    Some things just happen.
    Everything else occurs.

    "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
    news:OCwrAzJRDH A.2316@TK2MSFTN GP12.phx.gbl...[color=blue]
    > Hi all
    >
    > Is it possible to create an ASP.NET project from code?
    >
    > Thanks in advance
    >
    > Vaclav
    >
    >[/color]


    Comment

    • Václav Jedlièka

      #3
      Re: create a project from code

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


      "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> píše v diskusním pøíspìvku
      news:uKnDxpKRDH A.2592@TK2MSFTN GP10.phx.gbl...[color=blue]
      > Visual Studio .Net does it all the time. What exactly are you asking?
      >
      > HTH,
      >
      > Kevin Spencer
      > Microsoft FrontPage MVP
      > Internet Developer
      > http://www.takempis.com
      > Some things just happen.
      > Everything else occurs.
      >
      > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
      > news:OCwrAzJRDH A.2316@TK2MSFTN GP12.phx.gbl...[color=green]
      > > Hi all
      > >
      > > Is it possible to create an ASP.NET project from code?
      > >
      > > Thanks in advance
      > >
      > > Vaclav
      > >
      > >[/color]
      >
      >[/color]


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


      Comment

      • Kevin Spencer

        #4
        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
        All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

        Some things just happen.
        Everything else occurs.

        "Václav Jedlièka" <vjedlicka@iol. cz> wrote in message
        news:e1zXabLRDH A.2228@tk2msftn gp13.phx.gbl...[color=blue]
        > I need to create a VS project from code, not manualy.
        >
        >
        > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> píše v diskusním[/color]
        pøíspìvku[color=blue]
        > news:uKnDxpKRDH A.2592@TK2MSFTN GP10.phx.gbl...[color=green]
        > > Visual Studio .Net does it all the time. What exactly are you asking?
        > >
        > > HTH,
        > >
        > > Kevin Spencer
        > > Microsoft FrontPage MVP
        > > Internet Developer
        > > http://www.takempis.com
        > > Some things just happen.
        > > Everything else occurs.
        > >
        > > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
        > > news:OCwrAzJRDH A.2316@TK2MSFTN GP12.phx.gbl...[color=darkred]
        > > > Hi all
        > > >
        > > > Is it possible to create an ASP.NET project from code?
        > > >
        > > > Thanks in advance
        > > >
        > > > Vaclav
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >
        > ---
        > Odchozí zpráva neobsahuje viry.
        > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
        > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
        >
        >[/color]


        Comment

        • Vaclav Jedlicka

          #5
          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@SPAMMERS SUCKtakempis.co m> wrote in message
          news:%239vWA0LR DHA.2316@TK2MSF TNGP12.phx.gbl. ..[color=blue]
          > 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
          > http://www.takempis.com
          > Some things just happen.
          > Everything else occurs.
          >
          > "Václav Jedlièka" <vjedlicka@iol. cz> wrote in message
          > news:e1zXabLRDH A.2228@tk2msftn gp13.phx.gbl...[color=green]
          > > I need to create a VS project from code, not manualy.
          > >
          > >
          > > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> píse v diskusním[/color]
          > pøíspìvku[color=green]
          > > news:uKnDxpKRDH A.2592@TK2MSFTN GP10.phx.gbl...[color=darkred]
          > > > Visual Studio .Net does it all the time. What exactly are you asking?
          > > >
          > > > HTH,
          > > >
          > > > Kevin Spencer
          > > > Microsoft FrontPage MVP
          > > > Internet Developer
          > > > http://www.takempis.com
          > > > Some things just happen.
          > > > Everything else occurs.
          > > >
          > > > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
          > > > news:OCwrAzJRDH A.2316@TK2MSFTN GP12.phx.gbl...
          > > > > Hi all
          > > > >
          > > > > Is it possible to create an ASP.NET project from code?
          > > > >
          > > > > Thanks in advance
          > > > >
          > > > > Vaclav
          > > > >
          > > > >
          > > >
          > > >[/color]
          > >
          > >
          > > ---
          > > Odchozí zpráva neobsahuje viry.
          > > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
          > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Kevin Spencer

            #6
            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:

            http://msdn.microsoft.com/netframewo...s/default.aspx

            HTH,

            Kevin Spencer
            Microsoft FrontPage MVP
            Internet Developer
            All hotels in Benidorm. The best selection of Benidorm hotels with reviews and maps. Book in advance and save.

            Some things just happen.
            Everything else occurs.

            "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
            news:eyYln6RRDH A.1072@TK2MSFTN GP10.phx.gbl...[color=blue]
            > 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[/color]
            VS[color=blue]
            > 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[/color]
            IIS.[color=blue]
            > 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[/color]
            from[color=blue]
            > .NET code (I use c#).
            >
            > Thanks
            > Vaclav
            >
            >
            > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> wrote in message
            > news:%239vWA0LR DHA.2316@TK2MSF TNGP12.phx.gbl. ..[color=green]
            > > 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
            > > http://www.takempis.com
            > > Some things just happen.
            > > Everything else occurs.
            > >
            > > "Václav Jedlièka" <vjedlicka@iol. cz> wrote in message
            > > news:e1zXabLRDH A.2228@tk2msftn gp13.phx.gbl...[color=darkred]
            > > > I need to create a VS project from code, not manualy.
            > > >
            > > >
            > > > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> píse v diskusním[/color]
            > > pøíspìvku[color=darkred]
            > > > news:uKnDxpKRDH A.2592@TK2MSFTN GP10.phx.gbl...
            > > > > Visual Studio .Net does it all the time. What exactly are you[/color][/color][/color]
            asking?[color=blue][color=green][color=darkred]
            > > > >
            > > > > HTH,
            > > > >
            > > > > Kevin Spencer
            > > > > Microsoft FrontPage MVP
            > > > > Internet Developer
            > > > > http://www.takempis.com
            > > > > Some things just happen.
            > > > > Everything else occurs.
            > > > >
            > > > > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
            > > > > news:OCwrAzJRDH A.2316@TK2MSFTN GP12.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 (http://www.grisoft.cz).
            > > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Vaclav Jedlicka

              #7
              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.webinf o) from code.

              Vaclav

              "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> wrote in message
              news:u$cDKYVRDH A.2188@TK2MSFTN GP10.phx.gbl...[color=blue]
              > I believe most if not all of what you're looking for is in the[/color]
              Microsoft.Vsa[color=blue]
              > 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:
              >
              > http://msdn.microsoft.com/netframewo...s/default.aspx
              >
              > HTH,
              >
              > Kevin Spencer
              > Microsoft FrontPage MVP
              > Internet Developer
              > http://www.takempis.com
              > Some things just happen.
              > Everything else occurs.
              >
              > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
              > news:eyYln6RRDH A.1072@TK2MSFTN GP10.phx.gbl...[color=green]
              > > Exactly.
              > >
              > > Why I need it?
              > > I am developing an application generator which generates ASP.NET[/color][/color]
              projects.[color=blue][color=green]
              > > So far it generates the ASPX and CS files, but I also need to create the[/color]
              > VS[color=green]
              > > projects which would contain them. The user would specify only the[/color][/color]
              project[color=blue][color=green]
              > > name and the code would create a VS project, and the virtual folder in[/color]
              > IIS.[color=green]
              > > 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[/color]
              > from[color=green]
              > > .NET code (I use c#).
              > >
              > > Thanks
              > > Vaclav
              > >
              > >
              > > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> wrote in message
              > > news:%239vWA0LR DHA.2316@TK2MSF TNGP12.phx.gbl. ..[color=darkred]
              > > > 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
              > > > http://www.takempis.com
              > > > Some things just happen.
              > > > Everything else occurs.
              > > >
              > > > "Václav Jedlièka" <vjedlicka@iol. cz> wrote in message
              > > > news:e1zXabLRDH A.2228@tk2msftn gp13.phx.gbl...
              > > > > I need to create a VS project from code, not manualy.
              > > > >
              > > > >
              > > > > "Kevin Spencer" <kevin@SPAMMERS SUCKtakempis.co m> píse v diskusním
              > > > pøíspìvku
              > > > > news:uKnDxpKRDH A.2592@TK2MSFTN GP10.phx.gbl...
              > > > > > Visual Studio .Net does it all the time. What exactly are you[/color][/color]
              > asking?[color=green][color=darkred]
              > > > > >
              > > > > > HTH,
              > > > > >
              > > > > > Kevin Spencer
              > > > > > Microsoft FrontPage MVP
              > > > > > Internet Developer
              > > > > > http://www.takempis.com
              > > > > > Some things just happen.
              > > > > > Everything else occurs.
              > > > > >
              > > > > > "Vaclav Jedlicka" <vjedlicka@iol. cz> wrote in message
              > > > > > news:OCwrAzJRDH A.2316@TK2MSFTN GP12.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 (http://www.grisoft.cz).
              > > > > Verze: 6.0.497 / Virová báze: 296 - datum vydání: 4.7.2003
              > > > >
              > > > >
              > > >
              > > >[/color]
              > >
              > >[/color]
              >
              >[/color]


              Comment

              Working...