菜鸟搞了一个hello程序,怎么打包成setup.exe?
using   System; 
 using   System.Collections.Generic; 
 using   System.ComponentModel; 
 using   System.Data; 
 using   System.Drawing; 
 using   System.Text; 
 using   System.Windows.Forms;   
 namespace   WindowsApplication1 
 { 
             public   partial   class   Form1   :   Form 
             { 
                         public   Form1() 
                         { 
                                     InitializeComponent(); 
                         }   
                         private   void   button1_Click(object   sender,   EventArgs   e) 
                         { 
                                     MessageBox.Show( "hello ");   
                         } 
             } 
 }   
 这是我的第一个程序,只是显示“hello”,怎么打包成setup.exe??   
 谢谢先!
------解决方案--------------------生成一下就行了,然后到项目所在目录的 Bin\Debug 或 Bin\Release下找一下
------解决方案--------------------新建一个安装项目,新建项目时选 "其它项目类型 "--> 安装和部署--> 安装项目 
 新建安装项目后,把你的EXE文件放入去,设置文件存放目录,安装框架等, 
 你查下相关资料吧,生成打包就可以了