有没有一种方法可以使vb程序在所有框架中运行而无需设置? [英] Are there a way to make the vb programs work in all frameworks without setup?
本文介绍了有没有一种方法可以使vb程序在所有框架中运行而无需设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的程序仅在框架4中可用!!!!
my program is work only in framework 4 !!!!
推荐答案
您可以在应用程序中定位特定的框架:
http://msdn.microsoft.com/en-us/library/bb398202.aspx [ ^ ]
因此,您可以设置尽可能低的价格.
另一个更好的选择是为nessecary框架提供以下设置:
http://support.microsoft.com/kb/324733 [
You can target a specific framework in the application:
http://msdn.microsoft.com/en-us/library/bb398202.aspx[^]
So you could just set the lowest possible.
The other and better option is to provide the nessecary framework with the setup:
http://support.microsoft.com/kb/324733[^]
So there you go:)
将项目重新配置为目标.NET 2.0(双击MyProject->编译选项卡->高级编译选项按钮->目标框架下拉菜单),然后重新编译.希望您不会使用仅在3.0及更高版本中找到的内容!
Reconfigure you project to target .NET 2.0 (double-click MyProject -> Compile tab -> Advanced Compile Options button -> Target Framework dropdown) and recompile. Hopefully you didn''t use stuff you only find in 3.0 and above!
这篇关于有没有一种方法可以使vb程序在所有框架中运行而无需设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文