title: Building Wix project in TeamCity and send to Octopus have problem with GetAssem
body: <pre><code>     error MSB4018: The &quot;GetAssemblyVersionInfo&quot; task failed unexpectedly.
   error MSB4018: System.BadImageFormatException: Could not load file or assembly 'Web.Client.Installer.exe' or one of its dependencies. The module was expected to contain an assembly manifest.
      File name: 'Web.Client.Installer.exe' ---&gt; System.BadImageFormatException: Could not load file or assembly 'Web.Client.Installer.exe' or one of its dependencies. The module was expected to contain an assembly manifest.
      File name: 'Web.Client.Installer.exe'
        
         at System.Reflection.AssemblyName.nGetFileInformation(String s)
         at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
         at OctoPack.Tasks.GetAssemblyVersionInfo.UseAssemblyVersion(FileVersionInfo info) in C:\buildAgent\work\43311e7383a06d57\source\OctoPack.Tasks\GetAssemblyVersionInfo.cs:line 84
         at OctoPack.Tasks.GetAssemblyVersionInfo.CreateTaskItemFromFileVersionInfo(String path) in C:\buildAgent\work\43311e7383a06d57\source\OctoPack.Tasks\GetAssemblyVersionInfo.cs:line 62
         at OctoPack.Tasks.GetAssemblyVersionInfo.Execute() in C:\buildAgent\work\43311e7383a06d57\source\OctoPack.Tasks\GetAssemblyVersionInfo.cs:line 39
         at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecuti
  </code></pre>
  <p>I have to 2 build steps and the first step is .net build. It build fine and no problem. In the second step, the error displayed above. Both configurations is similar. Only differences are:</p>
  <blockquote>
  <p>/p:RunWixToolsOutOfProc=true  /p:RunOctoPack=true
  /p:OctoPackPublishPackageToHttp=http://server/nuget/packages?replace=true
  /p:OctoPackPublishApiKey=some_key</p>
  </blockquote>
  <p>Understand it couldn't find the exe file but how do I tell teamcity to find this file</p>