Jump to content

Tell the version in the AddonLoader Log


Recommended Posts

Hey guys, does any of you know how to change those values that are displayed in the log when the addon is loaded?

AddonLoader: Instantiating addon component 'UbioZurWeldingLtd' from assembly 'UbioWeldingLtd, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'

Also what does Culture and PublicKeyToken are for?

Thanks in advance

Link to comment
Share on other sites

The purpose of everything is to identify you assembly as exactly as possible. Culture is language related, so you can offer different files for different languages. "How .NET locates Assemblies" might be interesting, if you want to know more (Though i would not expect mono to behave exactly the same). Same for the token, but this time its about who created the assembly (see Strong-named assemblies and signing).

Anyway, i don't think mods have to worry about any of this. Kind of the opposite... having a kinda-strong name just makes it harder for other mods to interact with your assembly or you end up loading different versions of similar assemblies, though this might be intended and should only happen in specific situations as well. All of it should be accessible somewhere in your project properties.

Btw: VS can automatically increment your version number.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...