【发布时间】:2020-07-25 21:28:33
【问题描述】:
我已将这些文件复制到我的项目的 My Project 目录中以将它们作为程序集引用,但我不再希望它们在该目录中,因为当我发布我的项目时,我得到了一组警告说这些程序集被错误地指定为文件。
我怎样才能摆脱这些错误?
Error 4 Could not find file 'My Project\DotNetOpenAuth.dll'. MiPro
Error 5 Could not find file 'My Project\GDrive.Explorer.exe'. MiPro
Error 6 Could not find file 'My Project\GDrive.Framework.dll'. MiPro
Error 7 Could not find file 'My Project\Google.Apis.Authentication.OAuth2.dll'. MiPro
Error 9 Could not find file 'My Project\Google.Apis.dll'. MiPro
Error 8 Could not find file 'My Project\Google.Apis.PlatformServices.dll'. MiPro
Error 21 Could not find file 'My Project\log4net.dll'. MiPro
Error 12 Could not find file 'My Project\Microsoft.Threading.Tasks.dll'. MiPro
Error 10 Could not find file 'My Project\Microsoft.Threading.Tasks.Extensions.Desktop.dll'. MiPro
Error 11 Could not find file 'My Project\Microsoft.Threading.Tasks.Extensions.dll'. MiPro
Error 13 Could not find file 'My Project\Newtonsoft.Json.dll'. MiPro
Error 17 Could not find file 'My Project\System.Net.Http.dll'. MiPro
Error 14 Could not find file 'My Project\System.Net.Http.Extensions.dll'. MiPro
Error 15 Could not find file 'My Project\System.Net.Http.Primitives.dll'. MiPro
Error 16 Could not find file 'My Project\System.Net.Http.WebRequest.dll'. MiPro
Error 18 Could not find file 'My Project\System.Runtime.dll'. MiPro
Error 19 Could not find file 'My Project\System.Threading.Tasks.dll'. MiPro
Error 20 Could not find file 'My Project\Zlib.Portable.dll'. MiPro
Message 3 Could not find schema information for the attribute 'sku'. C:\Users\admin\documents\visual studio 2010\Projects\MiPro\MiPro\app.config 23 43 MiPro
Message 2 Could not find schema information for the attribute 'version'. C:\Users\admin\documents\visual studio 2010\Projects\MiPro\MiPro\app.config 23 28 MiPro
Message 1 Could not find schema information for the element 'supportedRuntime'. C:\Users\admin\documents\visual studio 2010\Projects\MiPro\MiPro\app.config 23 11 MiPro
另外,我收到一条错误消息,上面写着Application validation did not succeed.
可能的原因是什么?
【问题讨论】:
标签: vb.net winforms visual-studio-2010 publish