vs2013 c#窗体应用怎么打包部署

litsnake 2016-11-16 11:45:58
c#新手,写了一个小程序,现在需要打包,里面用到了.net framework4.5 ,
百度了一下,安装了InstallShield2013LimitedEdition.exe 但是没有激活的
安装百度一步步走下来,最后生成解决方案但是最后报错了:
警告 1 -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework. ISEXP : warning : -6245: One or more of the project's components contain .NET properties that require the .NET Framework. It is recommended that the release include the .NET Framework.

错误 2 -6109: Internal build error ISEXP : error : -6109: Internal build error

1.请问这个报错了怎么解决?
2.生成setup,会自动包含.netframework4.5 安装包,也就是打包好之后,把安装文件给别人,安装过程中,仅仅是提示你需要安装.netframework4.5 ,要你自己下载,还是一键把所有需要的组件都安装了?


谢谢各位大虾

...全文
401 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
litsnake 2016-11-16
  • 打赏
  • 举报
回复
引用 3 楼 sp1234 的回复:
http://jingyan.baidu.com/article/b24f6c82cc3edd86bfe5da07.html?pu=sz@224_220&st=&net_type=&bd_page_type=1&os=&rst= http://www.cnblogs.com/weixing/p/3358740.html
非常感谢,试了一下比较简单,但是有一个问题,就是我的程序有一个ini配置文件,为什么发布的时候不会连带把ini文件复制过去,导致运行的时候找不到ini文件,谢谢
csdn_aspnet 2016-11-16
  • 打赏
  • 举报
回复
Cynicalk 2016-11-16
  • 打赏
  • 举报
回复
不清楚呢我再瞅瞅

111,094

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧