为什么我发布的 VB10 项目没有安装 .net 4.0 先决条件?
我有一个用 VB10 编写的个人项目,并从 VS2010 发布它。但是,当用户尝试运行创建的 setup.exe 时,他们会收到一条错误,指出需要 .net 4.0。起初,我以为我只是没有将框架设置为先决条件,但我确实将“Microsoft .NET Framework 4(x86 和 x64)”检查为发布先决条件之一。
我不明白为什么这不起作用。我是否缺少安装程序称为“.net 4.0”的其他先决条件?我是不是错过了一些愚蠢的“让它发挥作用!”选项框?出现此错误的其他原因还有哪些?
I have a personal project written in VB10, and am publishing it from VS2010. However, when users attempt to run the created setup.exe, they receive an error stating .net 4.0 is required. At first I assumed I had simply not set the framework as a prerequisite, but I do have "Microsoft .NET Framework 4 (x86 and x64)" checked as one of the publish prerequisites.
I can't figure out why this isn't working. Am I missing some other prerequisite which the installer is calling ".net 4.0"? Am I missing some stupid "Make it work!" option box? What are the other reasons this error could appear?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您确定已选中“从组件供应商的网站下载先决条件”吗? (我使用的是 VS2008,所以措辞可能略有不同。)
听起来好像它不知道从哪里获取安装。
Are you sure you have the "Download Prerequisites from the component vendor's web site" checked? (I'm in VS2008, so wording might be slightly different.)
It sounds as if it doesn't know where to get the install from.