title: XmlSerializers.dll did not succeed
body: <blockquote>
    <p>Name: AIT.OurPluginOffice.Office2010.ExcelAddIn
    From: file:///C:/Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOffice.Office2010.ExcelAddIn.vsto</p>
    
    <p><code>************** Exception Text **************
    System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOutlook2010.XmlSerializers.dll did not succeed. ---&gt; System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---&gt; System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---&gt; System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
       at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
       at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
       --- End of inner exception stack trace ---
       at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
       at System.Net.FileWebRequest.GetResponseCallback(Object state)
       --- End of inner exception stack trace ---
       at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at System.Net.FileWebRequest.GetResponse()
       at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.DownloadAddIn(TimeSpan timeout)
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
    </code>   </p>
  </blockquote>
  
  <p>I've replaced some key points with 'OurPlugin'</p>
  
  <p>First I tried addin in this XmlSerializers, because I couldn't find it. It says it is missing it - so I must be needing it. A couple of iterations later (not to mention gray hair, headaches, torn hair, a few million rebuilds and google hits/attacks, btw I'm on day 4 with this one) - I'm trying to remove it, because I don't need it.</p>
  
  <p>The Office 2007 build is running smooth as ever, just the Office 2010 thats bugging me.</p>
  
  <ul>
  <li>I found the bytes.com - where kevin.morrison says exclude it, no such option in 4.0.</li>
  <li>I found the VSTO Runtime setup registry.</li>
  <li>I got the office2010pia_bootstrapper.exe</li>
  <li>I found the /Publish/Prerequisites/ [v] MS Visual Studio 2010 Tools For Office Runtime (x86 and x64)</li>
  </ul>
  
  <p>I did a copy paste of registry keys from the 2007 solution, added the Custom actions (Register and Unregister).</p>
  
  <p>I got a virtual XP with 2010 to test on. [x] "Shut down and delete changes".</p>
  
  <p>What am I missing?</p>