我如何结合我所有的定位卫星assembies到EXE? [英] How do I combine all my localization satellite assembies into the EXE?

查看:142
本文介绍了我如何结合我所有的定位卫星assembies到EXE?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开始增加多国语言使用RESX文件(例如,MyText.resx,MyText.ru-RU.resx等)。我的项目

I've started adding multiple languages to my project using resx files (eg. MyText.resx, MyText.ru-RU.resx, etc.).

当我编译,我结束了这样的文件:

When I compile, I end up with files like this:

MyApp.exe的 RU-RU \ MyApp.resources.dll ES-ES \ MyApp.resources.dll

MyApp.exe ru-RU\MyApp.resources.dll es-ES\MyApp.resources.dll

有没有简单的方法可以让我拥有了一切编译成EXE文件?这只是一个小工具,我分配在一个zip文件,这是很好的,它没有吨,相关的文件!

Is there any easy way I can have everything compiled into the EXE? It's just a small utility which I distribute in a zip file, and it was nice that it didn't have tons of associated files!

我一直在阅读有关AssemblyLinker,但我不知道它做什么,我想要的。该EXE需要表现得好像这些文件夹在那里,并加载正确的本地化为用户语言。

I've been reading about the AssemblyLinker, but I'm not sure it does what I want. The EXE needs to behave as if those folders were there, and load the correct localisations for the users language.

推荐答案

您可以使用重新编译后-pack程序集。 他们指出在他们的帮助文件是本地化的附属组件无缝工作与.net 1.1和有一个解决方法以后的版本。

You can use "Netz" to re-pack your Assemblies after compilation. They state in their helpfile that localized satellite assemblies are working seamlessly with .Net 1.1 and there is a workaround for later versions.

这篇关于我如何结合我所有的定位卫星assembies到EXE?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆