ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Visual Studio install

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 12 Oct 2017 15:03:29 +0100


On 12 October 2017 at 14:33, Mike Hammond <MCTMike@xxxxxxxxxxxxxxx> wrote:

Thanks for the follow-up, Graham.

 

I see the following in the Visual Studio 2015 Folder in the Start Menu:

                Debuggable Package Manager (PowerShell icon)

                Developer Command Prompt for VS2015 (CMD icon)

                MSBuild Command Prompt for VS2015 (CMD icon)

               Remote Debugger Folder (Folder icon)

               


Mike,

Can you run the VS installer (choose Modify for VS2015 in the Apps & features panel thingy), and ensure Programming Languages | Visual C++ | Common Tools for Visual C++ 2015 is checked?

If it isn't, check it and click UPDATE.

If it is, then unfortunately I have no idea why you don't get those entries.  They're not hard to create manually, they're shortcuts to cmd running the appropriate vsvarsall.bat command.

For the x64 build I have the following in the target:

%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"" amd64

Using PowerShell to dump out the shortcut gives:

PS> $sh = New-Object -ComObject WScript.shell
PS> $t = $sh.CreateShortcut("C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2015\Visual Studio Tools\Windows Desktop Command Prompts\VS2015 x64 Native Tools Command Prompt.lnk")
PS> $t


FullName         : C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Visual Studio 2015\Visual Studio Tools\Windows Desktop
                   Command Prompts\VS2015 x64 Native Tools Command Prompt.lnk
Arguments        : /k ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"" amd64
Description      : Open Visual Studio 2015 x64 Native Tools Command Prompt
Hotkey           :
IconLocation     : ,0
RelativePath     :
TargetPath       : C:\Windows\System32\cmd.exe
WindowStyle      : 1
WorkingDirectory : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\

--
Graham Bloice