问题描述
我有一个.Net 4.5.2 Forms APP,我已经建立了一个安装项目 对于。我已经完成了所有配置,但我收到了一个我无法解决的警告。我检查了它引用的DLL是在Detected Dependancies文件夹中,所以我很困惑为什么
项目不起作用。它成功构建并且安装程序/卸载程序运行,但是当我尝试运行该程序时它不起作用...
这些是警告:任何想法?
I've got a .Net 4.5.2 Forms APP that I've built a setup project for. I have it all configured but I'm getting a WARNING that I can't solve. I checked and the DLL's it's referencing are in the Detected Dependancies folder so I'm confused as to why the project won't work. It builds successfully and the installer/uninstaller run, but when I try to run the program it doesn't work...
These are the Warnings: Any ideas?
警告:无法找到程序集"Microsoft.Threading.Tasks.Extensions.dll"的依赖项"SYSTEM.THREADING.TASKS"(Signature ='B03F5F7F11D50A3A'Version ='1.5.11.0')。
警告:无法找到程序集"Microsoft.Threading.Tasks.Extensions.dll"的依赖关系"SYSTEM.THREADING.TASKS"(签名='B03F5F7F11D50A3A'版本='1.5.11.0')
警告:无法找到程序集"Microsoft.Threading.Tasks.Extensions.dll"的依赖关系'SYSTEM.RUNTIME'(签名='B03F5F7F11D50A3A'版本='1.5.11.0')左边b $ b警告:无法找到程序集'Microsoft.Threading.Tasks.Extensions.dll'的依赖'SYSTEM.RUNTIME'(签名='B03F5F7F11D50A3A'版本='1.5.11.0')'
警告:无法找到依赖项'SYSTEM。 THREADING.TASKS'(签名='B03F 5F7F11D50A3A'Version ='1.5.11.0')程序集'Microsoft.Threading.Tasks.dll'
警告:无法找到依赖项'SYSTEM.THREADING.TASKS'(签名='B03F5F7F11D50A3A'版本=汇编'Microsoft.Threading.Tasks.dll'的'1.5.11.0')
警告:无法找到依赖'SYSTEM.RUNTIME'(签名='B03F5F7F11D50A3A'版本='1.5.11.0')程序集'Microsoft.Threading.Tasks.dll'
警告:无法找到程序集'Microsoft.Threading'的依赖关系'SYSTEM.RUNTIME'(签名='B03F5F7F11D50A3A'版本='1.5.11.0') .Tasks.dll'
WARNING: Unable to find dependency 'SYSTEM.THREADING.TASKS' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.Extensions.dll'
WARNING: Unable to find dependency 'SYSTEM.THREADING.TASKS' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.Extensions.dll'
WARNING: Unable to find dependency 'SYSTEM.RUNTIME' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.Extensions.dll'
WARNING: Unable to find dependency 'SYSTEM.RUNTIME' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.Extensions.dll'
WARNING: Unable to find dependency 'SYSTEM.THREADING.TASKS' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.dll'
WARNING: Unable to find dependency 'SYSTEM.THREADING.TASKS' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.dll'
WARNING: Unable to find dependency 'SYSTEM.RUNTIME' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.dll'
WARNING: Unable to find dependency 'SYSTEM.RUNTIME' (Signature='B03F5F7F11D50A3A' Version='1.5.11.0') of assembly 'Microsoft.Threading.Tasks.dll'
推荐答案
尝试此解决方案:
将您的应用添加到 文件
系统 " Project输出" 而不是 " Assembly" 。
Adding your app to the FileSystem as "Project Output" instead of "Assembly".
参考: "无法找到依赖关系......"在VS2008中建立
建筑项目时
Refer: "Unable to find dependency..." when building setup project in VS2008
问候,
Stanly
这篇关于安装项目构建问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!