vsSolutionBuildEvent icon indicating copy to clipboard operation
vsSolutionBuildEvent copied to clipboard

Error: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

Open icnocop opened this issue 1 year ago • 1 comments

Hi.

If an error occurs when processing the .vssbe file, the following is written to the build output: Error: Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))

But it doesn't contain enough information to troubleshoot the issue.

I expected to see an exception stack trace or more information like how to increase the verbosity of the log, or where to find additional logs, if any.

Visual Studio's "Error List" window indicates ".vssbe" in the File column, and the "Description" column indicates: Failed Project.Pre-binding: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG)) and Failed Project.Post-binding: The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))

There are differences between the output in the "Error List" and the "Build" Output log. I expected to see additional information in the "Build" Output log.

Changing Visual Studio's "MSBuild project build output verbosity" to "Diagnostic" did not have any affect.

Thank you.

icnocop avatar Aug 21 '24 17:08 icnocop

Hello, Thanks for the report!

I expected to see additional information in the "Build" Output log.

Log can be found in Output panel - show output from: "vsSolutionBuildEvent" item. Not "Build".

Please try again using Debug Mode. To enable, find this item in context menu or press Ctrl+Alt+D. Make sure you don't suppress any levels in Avoid Log messages. Also please note, logs can contain sensitive information. Responsibility is solely on you.

In any case, I need more details to reproduce this behavior.

What mode and script are used? Can you prepare any demo project as an example? Or at least what changes caused this behavior if you used this before.

Thanks

3F avatar Aug 21 '24 18:08 3F