如何更新程序集中嵌入的资源文件?

thinkc 2007-06-18 05:05:27
如题
...全文
211 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
thinkc 2007-06-18
  • 打赏
  • 举报
回复
看看MSDN,嵌入式资源一旦编译就无法修改,谢谢
http://msdn2.microsoft.com/en-us/library/ht9h2dk8(vs.80).aspx
You cannot edit embedded resources directly. If you try to edit an embedded resource, you will receive a message prompting you to convert the item to a linked resource in order to edit it; conversion is recommended but optional. You must export them, make your modifications in an external program, and then import them back into your project.

Macosx 2007-06-18
  • 打赏
  • 举报
回复
没有代码很不好办的 或者程序应该提供接口指定资源位置
thinkc 2007-06-18
  • 打赏
  • 举报
回复
我到网看到的文章都是介绍读取资源文件,但是现在有个需求是写入,哪怕是自写入也行。楼上的能否介绍一下如何写入嵌入资源?
北京的雾霾天 2007-06-18
  • 打赏
  • 举报
回复
如果需要更新,最好不要嵌入,做成链接的.

110,534

社区成员

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

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

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