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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Compiling Web application from command prompt

Compiling Web application from command prompt

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdotnetwindows-admintutorial
4 Posts 2 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.
  • K Offline
    K Offline
    krishna kiran
    wrote on last edited by
    #1

    Hi Professionals, I have only .NET Framework 1.1 and IIS installed. I modified the code-behind file of a webform in a web application. How to compile and build complete asp.net web application from command prompt. If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? Please suggest a solution for this. Urs Kris. k.krishna kiran

    D 2 Replies Last reply
    0
    • K krishna kiran

      Hi Professionals, I have only .NET Framework 1.1 and IIS installed. I modified the code-behind file of a webform in a web application. How to compile and build complete asp.net web application from command prompt. If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? Please suggest a solution for this. Urs Kris. k.krishna kiran

      D Offline
      D Offline
      DELETEUSER
      wrote on last edited by
      #2

      How to compile and build complete asp.net web application from command prompt. I guess this should work vbc /out: bin\The_Name_You_want.dll /target:library /reference:All_Your_Import.dlls YourVBFile.vb If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? I have not much VB experience. But in CS just compiling the new file does the job. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

      D 1 Reply Last reply
      0
      • D DELETEUSER

        How to compile and build complete asp.net web application from command prompt. I guess this should work vbc /out: bin\The_Name_You_want.dll /target:library /reference:All_Your_Import.dlls YourVBFile.vb If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? I have not much VB experience. But in CS just compiling the new file does the job. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

        D Offline
        D Offline
        DELETEUSER
        wrote on last edited by
        #3

        Man the above solution doesn't work. I thought that the web browser will compile the aspx tags in the html and the CSC or VBC will compile the code. I created a simple project with Response.Write("Test"); in the code behind page and compiled it to a dll keeping the directory structure intact. But the follwong error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'CCTest.Global'. Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="CCTest.Global" %> Let me know what happens when find a solution. ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

        1 Reply Last reply
        0
        • K krishna kiran

          Hi Professionals, I have only .NET Framework 1.1 and IIS installed. I modified the code-behind file of a webform in a web application. How to compile and build complete asp.net web application from command prompt. If one file is changed, is it necessary to compile all the code behind (.vb) files in the project through vbc command? Please suggest a solution for this. Urs Kris. k.krishna kiran

          D Offline
          D Offline
          DELETEUSER
          wrote on last edited by
          #4

          Follow this link maybe some help http://www.oreilly.com/catalog/prognetws/chapter/ch02.html[^] ---------- Venus Patel http://patelsinc.blogspot.com/ A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

          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