Compiling a ASP.NET project on the server with vbc.exe

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

  1. #1

    Default Compiling a ASP.NET project on the server with vbc.exe

    Hi,

    I have an ASP.NET project written in VB.NET on a server. I have made a few
    changes to some files using notepad while remotely connected to the server.
    How can I compile the project on the server (that doesn't have VS.NET
    installed on it) so that the changes take affect?

    I've tried playing around with vbc.exe but I couldn't get the parameters
    right - it kept reporting missing references etc.

    Here is the structure of the VS.NET solution:

    - vs.net.project.1 (with aspx/vb files)
    - - references (vs.net.project.2, system.data, system.drawing, system.web,
    system.xml )
    - - subdirecoty1 (with aspx/vb files)
    - - subdirectory2 (with aspx/vb files)

    - vs.net.project.2 (with vb class files)
    - - references (3rd.party.dll, system.data, system.drawing, system.web,
    system.xml )

    Here is the directory structure on the server:

    c:\websites\vs.net.project.1.website\ (with aspx/vb files)
    c:\websites\vs.net.project.1.website\bin (with vs.net.project.1.dll,
    vs.net.project2.dll, 3rd.party.dll)
    c:\websites\vs.net.project.1.website\subdirectory1 (with aspx/vb files)
    c:\websites\vs.net.project.1.website\subdirectory2 (with aspx/vb files)
    c:\websites\vs.net.project.1.website\vs.net.projec t.2.folder\ (with vb class
    files)
    c:\websites\vs.net.project.1.website\vs.net.projec t.2.folder\bin (with
    3rd.party.dll, vs.net.project.2.dll)

    Any help would be greatly appreciated.

    Thanks!

    Brian


    Brian B. Guest

  2. Similar Questions and Discussions

    1. do I need comm server for this project ??
      I would like to know if I need to purchase the $499 comm. server in order to have a flash site where a video of a person talking will be displayed ?...
    2. Error when compiling ARSPerl-1.81 on a unix server
      This is my first attempt to compile a module on a unix server. It appears the "perl Makefile.pl" command ran without error. Other info: -...
    3. Help with creating ASP.NET project using VS.NET on a Server
      Hi, I have been trying to create a Web project since day 1 of VS.NET 2002 and now VS.NET 2003. I am trying to create a project on a W2K Server...
    4. Deploying asp.net project at web server
      I am new for asp.net programming. My simple.aspx page is working properly in my localhost. After copy this project from Microsoft Visual Basic.NET...
    5. Real problems in compiling Apache Web Server with Open Server 5.0.6
      Since a few days i've trialed to compile the Apache Web-Server 1.3.27 with SCO Open Server 5.0.6. Unfortunately with almost no success. 1.) I...
  3. #2

    Default Re: Compiling a ASP.NET project on the server with vbc.exe

    "Brian B." <brianbb@san.rr.com> wrote in
    news:CU0La.85362$49.3164388@twister.socal.rr.com:
    > Hi,
    >
    > I have an ASP.NET project written in VB.NET on a server. I have
    > made a few changes to some files using notepad while remotely
    > connected to the server. How can I compile the project on the
    > server (that doesn't have VS.NET installed on it) so that the
    > changes take affect?
    Brian,

    Can you execute a process on the server (e.g. can you do something
    like a Telnet session)? If so, you can use VS.NET in command-line
    mode to compile your solution. Enter "devenv /?" to get info on how
    to build a solution this way. Also see:

    [url]http://msdn.microsoft.com/library/en-[/url]
    us/vsintro7/html/vxgrfCommandLineSwitches.asp

    The simplest case may be to switch to the folder your solution is in,
    and enter something like "devenv /build debug mysolution.sln". (You
    can replace "debug" with "release" to build a release version).

    Hope this helps.

    Chris.
    -------------
    C.R. Timmons Consulting, Inc.
    [url]http://www.crtimmonsinc.com/[/url]
    Chris R. Timmons Guest

  4. #3

    Default Re: Compiling a ASP.NET project on the server with vbc.exe

    from run box:

    cmd

    %VSCOMNTOOLS%vsvars32.bat

    vbc /?

    start reading

    good luck...


    "Brian B." <brianbb@san.rr.com> wrote in message
    news:CU0La.85362$49.3164388@twister.socal.rr.com.. .
    > Hi,
    >
    > I have an ASP.NET project written in VB.NET on a server. I have made a
    few
    > changes to some files using notepad while remotely connected to the
    server.
    > How can I compile the project on the server (that doesn't have VS.NET
    > installed on it) so that the changes take affect?
    >
    > I've tried playing around with vbc.exe but I couldn't get the parameters
    > right - it kept reporting missing references etc.
    >
    > Here is the structure of the VS.NET solution:
    >
    > - vs.net.project.1 (with aspx/vb files)
    > - - references (vs.net.project.2, system.data, system.drawing, system.web,
    > system.xml )
    > - - subdirecoty1 (with aspx/vb files)
    > - - subdirectory2 (with aspx/vb files)
    >
    > - vs.net.project.2 (with vb class files)
    > - - references (3rd.party.dll, system.data, system.drawing, system.web,
    > system.xml )
    >
    > Here is the directory structure on the server:
    >
    > c:\websites\vs.net.project.1.website\ (with aspx/vb files)
    > c:\websites\vs.net.project.1.website\bin (with vs.net.project.1.dll,
    > vs.net.project2.dll, 3rd.party.dll)
    > c:\websites\vs.net.project.1.website\subdirectory1 (with aspx/vb files)
    > c:\websites\vs.net.project.1.website\subdirectory2 (with aspx/vb files)
    > c:\websites\vs.net.project.1.website\vs.net.projec t.2.folder\ (with vb
    class
    > files)
    > c:\websites\vs.net.project.1.website\vs.net.projec t.2.folder\bin (with
    > 3rd.party.dll, vs.net.project.2.dll)
    >
    > Any help would be greatly appreciated.
    >
    > Thanks!
    >
    > Brian
    >
    >

    Chance Hopkins Guest

  5. #4

    Default Re: Compiling a ASP.NET project on the server with vbc.exe

    Chris,

    Even though I do have remote access to this server with execute
    permissions, I don't have the VS.NET installed on the box. I assume
    that's why I can't execute devenv tool.

    Thanks,

    Bojan

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Brian B. Guest

  6. #5

    Default Re: Compiling a ASP.NET project on the server with vbc.exe

    I think all you need is the sdk for the vb compiler...

    that's the "vbc" I mentioned below


    "Brian B." <brianbb@san.rr.com> wrote in message
    news:eQOl$GGQDHA.2316@TK2MSFTNGP11.phx.gbl...
    > Chris,
    >
    > Even though I do have remote access to this server with execute
    > permissions, I don't have the VS.NET installed on the box. I assume
    > that's why I can't execute devenv tool.
    >
    > Thanks,
    >
    > Bojan
    >
    > *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    > Don't just participate in USENET...get rewarded for it!

    Chance Hopkins 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