satellite-assembly

How to prevent resource assembly generation for embedded resources

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-09 11:45:55
问题 I have a project which embeds some files into it, two of which ends with .SMS.something . When the project is compiled, a satellite assembly for the "SMS" culture is generated even though I have not specified anywhere that I want to use satellite assemblies, and is it even a culture? I have searched all over the place for an explanation, but I am at a loss. The only things I found were people trying to embed their resource assemblies for actual cultures into their executable, but this is not

ILMerge and localized resource assemblies

一曲冷凌霜 提交于 2020-01-29 04:38:24
问题 We have an application whose structure when compiled looks something like this: Foo nb-NO Text.resources.dll sv-SE Text.resources.dll Bar.dll Foo.exe Text.dll Is it possible to use ILMerge on this? How would you do that? 回答1: I asked my own variant of this question and eventually got/implemented an answer: Single-assembly multi-language Windows Forms deployment (ILMerge and satellite assemblies / localization) - possible? Hope this helps. 回答2: Disclaimer: I work for the company that makes

How to embed a satellite assembly into the EXE file

浪尽此生 提交于 2019-12-17 15:44:40
问题 I got the problem that I need to distribute a C# project as a single EXE file which is not an installer but the real program. It also needs to include a translation which currently resides in a subdirectory. Is it possible to embed it directly into the binary? 回答1: Here it is the simplest solution which I saw in the Internet: How to embed your application’s dependent DLLs inside your EXE file also handy implementation of this solution: http://code.google.com/p/costura/wiki/HowItWorksEmbedTask

What is the difference between a resource file and a satellite DLL?

十年热恋 提交于 2019-12-11 06:48:16
问题 I am not getting the difference between resource files and satellite dll. 回答1: Ressource files usually get compiled into the application. A satellite dll is a dll, that includes all the ressources of an application and in addition, through its special nomenclature can be loaded based on the country schema, that is regional settings. 409 : LocaleID for English (United States) 40C : LocaleID for French (Standard) When I name my dll testSAT40C.dll, it will be loaded when I'm working when

How to add satellite assemblies to a project in Visual Studio

坚强是说给别人听的谎言 提交于 2019-12-10 23:36:17
问题 I'm working in a project which references assemblies from a third company. These assemblies have satellite assemblies that I'm copying with a post-build event to the bin folder. Is There a way to include those third party satellite assemblies into the project so I have not to care with the post-build events and maintaining the files? Thanks in advance. MORE INFORMATION: As the references have only resources they are not added as project references, actually I'm just copying them to the //

Override a resource from standard assembly in ASP.NET

六月ゝ 毕业季﹏ 提交于 2019-12-09 03:09:07
问题 I want to override a string from a System.ComponentModel.DataAnnotations for an ASP.NET project. Do I need to make a satellite assembly, messing with custom build tasks, al.exe etc.? Even if yes, I couldn't find how to convert .resx to .resources to feed it to al.exe . And if no, where to put the .resx. and how to name it? UPD: To make it clear: I wanted to use a custom resource string instead of one from the default resource from the assembly. I didn't want to make changes in the every place

WiX: How to automatically include localized satellite assemblies?

落花浮王杯 提交于 2019-12-06 07:26:27
问题 Can WiX be set to automatically include all generated satellite assemblies? The goal is to have a single English language MSI that installs an application with localized strings available for ~10 languages. I found this existing SO quetsion: How do I include Satellite Assemblies(Localized Resources) in an MSI built with WiX? However that solution suggests that new component and directory definitions needs to be manually added for each culture variant. Is that the only way, or can WiX somehow

How do I include Satellite Assemblies(Localized Resources) in an MSI built with WiX?

╄→гoц情女王★ 提交于 2019-12-06 02:52:22
问题 The project I'm working on is switching from using the VS2008 deployment/installer to WiX, which i'm currently very new to. I've added the code to copy the output of the resources project into the Resources.dll, but in the old VS2008 installer file system there is also the localized resources output which currently produces two foldes (en and es) with another dll in (Resources.resources.dll) for each language. I've had a bit of a search, but can't seem to find the method of getting these

WiX: How to automatically include localized satellite assemblies?

强颜欢笑 提交于 2019-12-04 14:02:00
Can WiX be set to automatically include all generated satellite assemblies? The goal is to have a single English language MSI that installs an application with localized strings available for ~10 languages. I found this existing SO quetsion: How do I include Satellite Assemblies(Localized Resources) in an MSI built with WiX? However that solution suggests that new component and directory definitions needs to be manually added for each culture variant. Is that the only way, or can WiX somehow automatically learn about each language from the Visual Studio project definitions? (Running VS2010 and

How do I include Satellite Assemblies(Localized Resources) in an MSI built with WiX?

江枫思渺然 提交于 2019-12-04 08:31:54
The project I'm working on is switching from using the VS2008 deployment/installer to WiX, which i'm currently very new to. I've added the code to copy the output of the resources project into the Resources.dll, but in the old VS2008 installer file system there is also the localized resources output which currently produces two foldes (en and es) with another dll in (Resources.resources.dll) for each language. I've had a bit of a search, but can't seem to find the method of getting these folders into the msi short of actually knowing that those folders exist and putting them straight in. What