title: failed to publish: could not find required file 'setup.bin'
body: <p>I have a sample Console application testing the MySQL connectivity. The code is below.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using MySql.Data;
  using MySql.Data.MySqlClient;
  
  namespace MySQLConnection
  {
      class Program
      {
          static void Main(string[] args)
          {
              string connStr = "server=localhost;user=root;database=world;port=3306;password=Password;";
              using (MySqlConnection conn = new MySqlConnection(connStr))
              {
                  conn.Open();
  
                  string sql = "SELECT COUNT(*) FROM Country";
                  MySqlCommand cmd = new MySqlCommand(sql, conn);
                  object result = cmd.ExecuteScalar();
  
                  if (result != null)
                  {
                      int r = Convert.ToInt32(result);
                      Console.WriteLine("Number of countries in the World database is: " + r);
                  }
              }
              Console.ReadLine();
          }
      }
  }
  </code></pre>
  
  <p>The code runs fine. But when I try to publish the project I get an error as shown in the image below.</p>
  
  <p><img src="https://s23.postimg.org/tird5imej/error_list.png" alt="error description"></p>
  
  <p>I am using VS2012 Update 3 targeting .NET 4. Any ideas? </p>
  
  <p>Thanks.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Using this answer: <a href="https://stackoverflow.com/questions/11139538/could-not-find-required-file-setup-bin">Could not find required file &#39;setup.bin&#39;</a> I was able to publish the application.</p>
  
  <p>In my case it was that</p>
  
  <ol>
  <li>HKLM\Software\Microsoft\GenericBootstrapper\11.0\Path does <strong>not</strong> exist.</li>
  <li>HKLM\Software\Wow6432Node\Microsoft\GenericBootstrapper\11.0\Path exists and points to <code>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\Bootstrapper\</code></li>
  </ol>
  
  <p>From that directory I copied the <code>Engine</code> directory to my application directory and then was able to publish the app. Hopefully, this does not need to be done each time.</p>