.NET Framework Bookmark and Share   
 index > .NET Framework Setup > Visual Studio Command Prompt...
 

Visual Studio Command Prompt...

Hello,

Is there anyway to just install Visual Studio Command prompt?

In our production box we are trying to install list of assembly files using Gacutil file list option.
It is giving an error "Failed to open assemblies list file GACLoader.txt"

But If I load them one by one(not as list) it is working fine.

What is the problem here?

Thanks,
Reddy
VanSud
Hi VanSud,

Some clarification with you:
Do you mean that you want toutilize Global Assembly Cache Tool (Gacutil.exe) on the target machine?

Gacutil toolcomeswith the .NET Framework 2.0SDK.The SDK is installed with Visual Studio, so development machines always have it.

For your concern, you could download and install .NET Framework 2.0 SDK instead of Visual Studio Command prompt on the target machine.
.NET Framework 2.0 SDK : http://www.microsoft.com/downloads/details.aspx?FamilyID=fe6f2099-b7b4-4f47-a244-c96d69c35dec&displaylang=en
Pleaseensure that you're getting administrator privilege to installassemblies into GAC.

Hope this helps. If you have any concern, please feel free to let me know.

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

All Replies

  • Tuesday, September 15, 2009 5:59 AManlis Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Vansud

    Note: The command prompt specific to.NET comes with the Visual Studio editions but not with the Express edition.
    In Visual Studio 2005, it is located in:
    \Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat"" x86

    Look to see if a similar named file may possibly be located somewhere on your hard drive. If not, then you need to buy the Studio edition, or figure out how to use the regular command prompt. You also need the command compiler, which I assume does not come with the Express edition.

    The following code is the contents of the vcvarsall.bat"" x86 batch file. You can try copying it, but itwon't work unless the supporting files are available in the named locations. I'm guessing you probably don't have them.

    @echo off
    if "%1" == "" goto x86
    if not "%2" == "" goto usage

    if /i %1 == x86 goto x86
    if /i %1 == amd64 goto amd64
    if /i %1 == x64 goto amd64
    if /i %1 == ia64 goto ia64
    if /i %1 == x86_amd64 goto x86_amd64
    if /i %1 == x86_ia64 goto x86_ia64
    goto usage

    :x86
    if not exist "%~dp0bin\vcvars32.bat" goto missing
    call "%~dp0bin\vcvars32.bat"
    goto :eof

    :amd64
    if not exist "%~dp0bin\amd64\vcvarsamd64.bat" goto missing
    call "%~dp0bin\amd64\vcvarsamd64.bat"
    goto :eof

    U can also refer this link for download of VSAddins
    http://searchwindevelopment.techtarget.com/news/article/0,289142,sid8_gci1262570,00.html

    There is oneNamed VSCommandShell.Download and try it
    I have not tried it
    See if it helps u...

    Let me know..

    Or

    Download Visual Studio 2008 (A trial version is available)

    - Once it's installed:

    - In the Windows Operating System click on START, PROGRAMS, Microsoft Visual Studio 2008, and Visual Studio Tools

    - The Command Prompt selection is within this folder

    Will this help


    By the Way this is .Net Framework Setup Forum
    One kind request to u
    Post ur thread in appropriaate forums
    http://social.msdn.microsoft.com/Forums/en-US/vssetup/threads

    U get better replies by Experts

    Thanks
    anliS


    Regards anliS www.businessinsightsconsulting.com Please remember to mark the correct replies as answers
YiChun Chen

You can use google to search for other answers

Custom Search

More Threads

• Microsoft .NET Framework 3.0 -- Installation failed.
• how to install 3.0 and beta 2008 visual studio and a sql that runs
• .NET Framework 3.0 and Kerio Firewall - Setup hangs.
• Could the installation package of .NET 3.5 be split?
• Deployment of micorosoft sample code in a commercial product
• Visual Studios pages
• .NET Framework 3.5 SP1 and Service Packs for Operating Systems
• How to determine if NET framework is already installed
• ClickOnce without .NET Framework Installed
• Why do we have to install .NET 2.0 on Vista?