.net framework3.5放到你的安装包的目录中。 然后右键点击setup工程,执行属性命令。 点击 Prerequisites...按钮。 在列表中选中.net framework3.5 选则 Download prerequisites from the same location as my application 或者 Download prerequisites from the Following location.
在你进行打包的工程里,选择你要打包的项目,properties->Prerequisites->Download prerequisites from the same location as my application 这样它就会在你的本机上搜索.netFrameWork,一起放在你打包生成的Debug目录下, 跟你的机子能不能上网没有关系。因为你既然有VS2008,那么你的本机上时肯定有.netFrameWork的, 这样.netFrameWork的安装程序就一起打包成功了。
然后右键点击setup工程,执行属性命令。
点击 Prerequisites...按钮。
在列表中选中.net framework3.5
选则
Download prerequisites from the same location as my application
或者
Download prerequisites from the Following location.
另一个选项指定是一个地址安装的时候在下载。
问题是我现在断网了就根本装不上.NET Franework3.5啊 。。装不上我做的应用程序就运行不了啊 怎么办
这样它就会在你的本机上搜索.netFrameWork,一起放在你打包生成的Debug目录下,
跟你的机子能不能上网没有关系。因为你既然有VS2008,那么你的本机上时肯定有.netFrameWork的,
这样.netFrameWork的安装程序就一起打包成功了。