title: Missing prerequisites for Visual C++ in Visual Studio 2012
body: <p>I've recently installed <code>vs2012</code> and I've updated my ClickOnce application. To be more precise, the first time I've opened my <code>C++ project</code> (on which depends my primary c# project) I've not updated it and everything worked fine. <code>VS 2012</code> was still able to see the Visual C++ 2010 prerequisite. Later on I've updated my project by changing the Platform Toolset to <code>"Visual Studio 2012 (v110)"</code> under <code>Properties-&gt;Configuration Properties-&gt;General</code>.</p>
  
  <p>In the meantime I've installed even other <code>software</code> and now I discovered that I'm no more able to add the Visual C++ prerequisite to my project for the ClickOnce publishing. The <code>Visual C++ 2010 Runtime Libraries (x64)</code> prerequisite is marked with a yellow triangle and it is missing. Ideally I'd like to update to <code>Visual C++ 2012 Runtime Libraries x64 (and x86)</code>, but even this prerequisite is missing.</p>
  
  <p>I guess it is due to the fact that in the folder <code>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\Packages</code> the corresponding package <code>(vcredist_x64)</code> is empty. I've also noticed that in the list of installed programs in the Control Panel I had <code>Microsoft Visual C++ 2010 x64</code> and <code>x86</code> installed, both the Redistributable version and the Runtime version (I think they where installed previously with Visual Studio 2010), while I was missing the Visual C++ 2012 files. Hence I'm arguing that the Visual C++ 2012 didn't come together with Visual Studio 2012, isn't it? I've even tried to install the <a href="http://www.microsoft.com/en-us/download/details.aspx?id=30679" rel="noreferrer">Visual C++ 2012 Redistributable x64</a> packages by downloading them and now they are listed in my installed programs 8only the Redistributable, not the Runtime version).</p>
  
  <p>However the prerequisite is still missing. How can I solve this? I've even thought about manually copying the bootstrapper package for Visual C++ 2010 located in the...<code>\v7.0A\Bootstrapper\Packages</code> folder and changing it manually for C++ 2012 but I do not know what I should write in <code>product.xml</code> under <code>&lt;MsiProductCheck Property="VCRedistInstalled" Product=?&gt;</code>. It seems that the product GUID to insert this information can be obtained with Bootstrapper Manager, but this program is throwing a lot of exception and I do not know how to do it. As a second solution is it safe to simply copying the package for Visual C++ 2010 from <code>\\v7.0A\Bootstrapper\Packages\Bootstrapper\Packages to \v8.0A\Bootstrapper\Packages</code>?</p>