Secure file encryption since 2001
Help & support

Language problems

15 replies 6 participants Started Active

Actions

Reply
Ondřej Guest
Report spam

I've downloaded the source Eduardo to understand your post and I can see the problem. Each language has it's own identically named DLL. This was my procedure -

  • I renamed each DLL like in your list. One called de.dll, the other called es.dll, another fr.ll.dll and so on.
  • I then moved all of the DLLs into an empty folder.
  • I used ILMerge on them all and named the output AxCrypt.Content.resources.dll

When I started AxCrypt the English language worked and so did the German, but no others.

I'm at a loss to know what's causing this issue but it looks like you'll have to use the pre-packed binary if you're prepared to forego building from source yourself.

AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Hello all,

There's nothing magic about our build. We do not use anything (except of course code signing certificates) that is not in the public repository.

Our build-server command line to build the stand-alone version is essentially (minus some stuff for our versioning since we inject our build number into the assembly version and naming etc):

msbuild AxCrypt.NET.sln /p:Configuration=Release

This should produce 'AxCrypt.exe' with all the required culture satellite assemblies merged in and workable.

That's it. Please note that we won't actually do the ILMerge stuff for Debug builds - but if you wish you can change the .targets files for that.

Eduardo Guest Topic starter
Report spam

msbuild AxCrypt.NET.sln /p:Configuration=Release

This is essentially what I had been doing but from within Visual Studio.

I executed the command from within the MSBuild Command Prompt and it produced exactly the same results - three executables:

(1) AxCrypt.exe [\Axantum.AxCrypt\bin\Release]

(2) Axantum.AxCrypt.exe [\Axantum.AxCrypt\obj\Release]

(3) Axantum.AxCrypt.exe  [\Axantum.AxCrypt\bin\Release]

1 - Works but the languages don't

2 - Doesn't run at all

3 - Works and so do the languages (when in \Axantum.AxCrypt\bin\Release) but when it's copied to the desktop or somewhere else the program works but the languages don't.

The problem is that the portable version (stored within \Axantum.AxCrypt\bin\Release) doesn't have language support when moved out of the folder.

Ondřej Guest
Report spam

I've replicated your output Eduardo. The third build in your list works in and out of the folder it's in but the language support disappears when moved to another folder.

The \obj\Release and \bin\Release executables are 1.16 MB and the \bin\Release is 6.51 MB.

There may be a problem with the BitBucket repository because this is abnormal behaviour when compiling.

AxCrypt Support AxCrypt Team
· 1,810 posts
Report spam

Hello,

The size difference is just due to the fact that the small one is without ILMerge, and the larger one after (i.e. includes all assemblies).

The language problem is different though, when we have time we'll try to figure out why our builds produce working binaries for all languages, while community builds apparently do not. They should.

Eduardo Guest Topic starter
Report spam

The language problem is different though, when we have time we’ll try to figure out why our builds produce working binaries for all languages, while community builds apparently do not. 

Much appreciated, thanks.

Reply to this topic

Posting as a guest. Log in or sign up to get reply notifications and edit your posts.

Tip: describe your AxCrypt version, operating system and the exact error message. Never post your password or license key.