Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. build via coding

build via coding

Scheduled Pinned Locked Moved ASP.NET
visual-studiotutorialcsharpasp-netquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sund7wells
    wrote on last edited by
    #1

    Can any one have idea, how to build one asp.net application via anotherone asp.net application?. Example: BuildApp.aspx contains one TexBox and Button, if enter a filename to be build in the Textbox and click the Button, it should build the application as we doing thru vs.net IDE build menu. Thanks in Advance:confused:

    R I 2 Replies Last reply
    0
    • S sund7wells

      Can any one have idea, how to build one asp.net application via anotherone asp.net application?. Example: BuildApp.aspx contains one TexBox and Button, if enter a filename to be build in the Textbox and click the Button, it should build the application as we doing thru vs.net IDE build menu. Thanks in Advance:confused:

      R Offline
      R Offline
      RichardGrimmer
      wrote on last edited by
      #2

      you could probable use ShellExecute or similar to spawn MSBuild with the correct command line

      "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

      S 1 Reply Last reply
      0
      • R RichardGrimmer

        you could probable use ShellExecute or similar to spawn MSBuild with the correct command line

        "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

        S Offline
        S Offline
        sund7wells
        wrote on last edited by
        #3

        Thanks for your tips. It would be very helpful to me if u show me some code or link which explains this ShellExecutable technique.;)

        R 1 Reply Last reply
        0
        • S sund7wells

          Thanks for your tips. It would be very helpful to me if u show me some code or link which explains this ShellExecutable technique.;)

          R Offline
          R Offline
          RichardGrimmer
          wrote on last edited by
          #4

          ShellExecute is a WIN32 API function - not sure how you'd go about accessing it from .NET tbh - haven't used it for a while! Think there's something in System.Diagnostics for running a process - MSDN will help

          "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

          S 1 Reply Last reply
          0
          • R RichardGrimmer

            ShellExecute is a WIN32 API function - not sure how you'd go about accessing it from .NET tbh - haven't used it for a while! Think there's something in System.Diagnostics for running a process - MSDN will help

            "Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox

            S Offline
            S Offline
            sund7wells
            wrote on last edited by
            #5

            Thanks lot Richard

            1 Reply Last reply
            0
            • S sund7wells

              Can any one have idea, how to build one asp.net application via anotherone asp.net application?. Example: BuildApp.aspx contains one TexBox and Button, if enter a filename to be build in the Textbox and click the Button, it should build the application as we doing thru vs.net IDE build menu. Thanks in Advance:confused:

              I Offline
              I Offline
              Ista
              wrote on last edited by
              #6

              Use the codeDom namespace to create code on the fly and compile it

              -------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups