Why do I get “An error occurred while validating. HRESULT = '80004005'” when building a setup project?

前端 未结 11 633
北荒
北荒 2020-12-09 09:10

Why do I get the following error when building a setup project?

An error occurred while validating. HRESULT = \'80004005\'

11条回答
  •  抹茶落季
    2020-12-09 09:20

    In my case my solution (VS2008) had a project that was also referenced from another solution (VS2010). In the VS2010 solution I had upgraded the project to .NET 4.0. When I later realized the project was also used in another solution I downgraded it to .NET 3.5. For some reason everything seemed to be changed correctly in the csproj file except one place which is mentioned here: Error in setup project HRESULT = '80004005'

    I know this is already solved somewhere else but I wanted to shed some light on this from another problem angle.

提交回复
热议问题