简体   繁体   中英

Visual Studio 2019 Installer Project WARNING: Unable to update the dependencies of the project

I 'm trying to build a Setup/install project in Visual Studio and my main project uses an obfusiciated third party dll that when compiling the setup project it gets this warning:

WARNING: Unable to update the dependencies of the project. The dependencies for the object: 'xxxx.dll' cannot be determined.

But no exe or msi is generated.

How does one resolve this warning/error?

The project file becomes out of whack and this issue has been endemic to Visual Studio since VS2005.

The best advice I found was to close visual studio and edit the project file. Once there empty the sections of "Hierarchy" and "File" where they look like this:

"Hierarchy"
{
}
...
"File" 
{
}

Once done reload the project and re-add outputs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM