简体   繁体   English

Visual Studio 2019 安装程序项目警告:无法更新项目的依赖项

[英]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:我正在尝试在 Visual Studio 中构建一个安装/安装项目,而我的主项目使用了一个经过混淆的第三方 dll,在编译安装项目时它会收到以下警告:

WARNING: Unable to update the dependencies of the project.警告:无法更新项目的依赖项。 The dependencies for the object: 'xxxx.dll' cannot be determined. object: 'xxxx.dll' 的依赖关系无法确定。

But no exe or msi is generated.但是没有生成 exe 或 msi。

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.项目文件变得异常,这个问题自 VS2005 以来一直是 Visual Studio 的特有问题。

The best advice I found was to close visual studio and edit the project file.我发现的最佳建议是关闭 Visual Studio 并编辑项目文件。 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.完成后重新加载项目并重新添加输出。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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