locked
Automated Build fails due to :MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002: Task 'ValidateAppxManifest' failed.

    Question

  • Using Visual Studio 2012 RC,  TFS and build controller are also VS 2012 RC

    I'm building a Javascript application for Metro.   And it builds with no issue in Visual Studio.

    When I create a Build Definition in VS and run it. 

    I get the following errors being reported in my build log file.

    Any pointers would be great - Larry

         2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002: Task 'ValidateAppxManifest' failed. Retrieving the COM class factory for component with CLSID {5842A140-FF9F-4166-8F5C-62F5B7B0C781} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.SemanticValidation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.ExecuteImplementation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

         2>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018: The "ValidateAppxManifest" task failed unexpectedly. [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {5842A140-FF9F-4166-8F5C-62F5B7B0C781} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.SemanticValidation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.ExecuteImplementation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj]

         2>Done Building Project "C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo\Hilo.jsproj" (default targets) -- FAILED.

         3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002: Task 'ValidateAppxManifest' failed. Retrieving the COM class factory for component with CLSID {5842A140-FF9F-4166-8F5C-62F5B7B0C781} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.SemanticValidation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.ExecuteImplementation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error APPX0002:    at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

         3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018: The "ValidateAppxManifest" task failed unexpectedly. [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {5842A140-FF9F-4166-8F5C-62F5B7B0C781} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.SemanticValidation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.ValidateAppxManifest.ExecuteImplementation() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\AppxPackage\Microsoft.AppXPackage.Targets(841,9): error MSB4018:    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() [C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj]

         3>Done Building Project "C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.Specifications\Hilo.Specifications.jsproj" (default targets) -- FAILED.

         1>Done Building Project "C:\Builds\10\HiloJavascript\HiloJavascript CI\Sources\Source\Hilo.js.sln" (default targets) -- FAILED.


    larry brader

    Thursday, July 12, 2012 12:34 AM

Answers

All replies