title: MSB3411 Could not load Visual C++ component
body: <p>I have MS Visual Studio 2012 Ultimate and OS is Windows 7, and have nodeJs installed.I wanted to install socket.io using npm,but I get the following error.</p>
  
  <pre><code>C:\Users\NEW&gt;npm install socket.io
  npm http GET https://registry.npmjs.org/socket.io
  npm http 304 https://registry.npmjs.org/socket.io
  npm http GET https://registry.npmjs.org/socket.io-client/0.9.11
  npm http GET https://registry.npmjs.org/policyfile/0.0.4
  npm http GET https://registry.npmjs.org/base64id/0.1.0
  npm http GET https://registry.npmjs.org/redis/0.7.3
  npm http 304 https://registry.npmjs.org/socket.io-client/0.9.11
  npm http 304 https://registry.npmjs.org/base64id/0.1.0
  npm http 304 https://registry.npmjs.org/policyfile/0.0.4
  npm http 304 https://registry.npmjs.org/redis/0.7.3
  npm http GET https://registry.npmjs.org/uglify-js/1.2.5
  npm http GET https://registry.npmjs.org/ws
  npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
  npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
  npm http 304 https://registry.npmjs.org/ws
  npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
  npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
  npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
  npm http GET https://registry.npmjs.org/zeparser/0.0.5
  npm http GET https://registry.npmjs.org/tinycolor
  npm http GET https://registry.npmjs.org/commander
  npm http GET https://registry.npmjs.org/options
  npm http 304 https://registry.npmjs.org/zeparser/0.0.5
  npm http 304 https://registry.npmjs.org/commander
  npm http 304 https://registry.npmjs.org/tinycolor
  npm http 304 https://registry.npmjs.org/options
  
  &gt; ws@0.4.25 install C:\Users\NEW\node_modules\socket.io\node_modules\socket.io-c
  lient\node_modules\ws
  
  &gt; (node-gyp rebuild 2&gt; builderror.log) || (exit 0)
  
  C:\Users\NEW\node_modules\socket.io\node_modules\socket.io-client\node_modules\w
  s&gt;node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_mo
  dules\node-gyp\bin\node-gyp.js" rebuild
  
  Building the projects in this solution one at a time. To enable parallel build,
  please add the "/m" switch.
  
  MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe".
   If the component is not installed, either 1) install the Microsoft Windows SDK
   for Windows Server 2008 and .NET Framework 3.5, or 2) install Microsoft Visual
   Studio 2008.  [C:\Users\NEW\node_modules\socket.io\node_modules\socket.io-clie
  nt\node_modules\ws\build\binding.sln]
  
  MSBUILD : error MSB3411: Could not load the Visual C++ component "VCBuild.exe".
   If the component is not installed, either 1) install the Microsoft Windows SDK
   for Windows Server 2008 and .NET Framework 3.5, or 2) install Microsoft Visual
   Studio 2008.  [C:\Users\NEW\node_modules\socket.io\node_modules\socket.io-clie
  nt\node_modules\ws\build\binding.sln]
  
  socket.io@0.9.13 node_modules\socket.io
  ├── base64id@0.1.0
  ├── policyfile@0.0.4
  ├── redis@0.7.3
  └── socket.io-client@0.9.11 (xmlhttprequest@1.4.2, uglify-js@1.2.5, active-x-obf
  uscator@0.0.1, ws@0.4.25)
  </code></pre>
  
  <p>What might be the issue?How can I fix it? </p>