Microsoft Developer Network > 포럼 홈 > Visual Studio Extensibility > DEVENV does not work from Vista's command line...
질문하기질문하기
 

답변됨DEVENV does not work from Vista's command line...

  • 2007년 4월 25일 수요일 오전 5:41David N_2 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     

     

    Hi All,

     

    I have a batch file that uses devenv.exe to build my VS solution.  I recently upgrade my OS to Windows Vista.  After the upgrade, the call to devenv.exe does not work any more.

     

    I tried to run devenv.exe from the DOS command line, and nothing happens.  As soon as I press enter key, it comes back to the DOS prompt.

     

    Is this one of the "security enhancement" features in Windows Vista?

     

    Thanks.

     

     

답변

  • 2007년 4월 26일 목요일 오전 5:48Carlos Quintero - MVPMVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Yes, you need to run it as admin. Alternatively a shortcut can be created, and then in its properties window, Shortcut tab, Advanced button, select the checkbox "Run as administrator". That avoids to right-click each time...
  • 2007년 4월 25일 수요일 오후 1:37Pablo GalianoMVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    David,

     

    If you have UAC enabled you will need to run the command line with Administrator privileges.

    Find the Command Prompt icon, right-click it and choose "Run as Administrator". Then accept the User Account Control prompt

     

    Pablo

모든 응답

  • 2007년 4월 25일 수요일 오후 12:00Dmitry PavlovMVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    It seems - YES it is
  • 2007년 4월 25일 수요일 오후 1:37Pablo GalianoMVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨

    David,

     

    If you have UAC enabled you will need to run the command line with Administrator privileges.

    Find the Command Prompt icon, right-click it and choose "Run as Administrator". Then accept the User Account Control prompt

     

    Pablo

  • 2007년 4월 26일 목요일 오전 5:48Carlos Quintero - MVPMVP, 중재자사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     답변됨
    Yes, you need to run it as admin. Alternatively a shortcut can be created, and then in its properties window, Shortcut tab, Advanced button, select the checkbox "Run as administrator". That avoids to right-click each time...