Mount & Blade II: Bannerlord
0 of 0

File information

Last updated

Original upload

Created by

Dealman

Uploaded by

Dealman

Virus scan

Safe to use

Mod name with spaces & x64 (3 comments)

  1. Jicksaw
    Jicksaw
    • member
    • 7 kudos
    If you use spaces in your mod name, for example the default "Bannerlord Mod Template", it will result in an assembly name with spaces (Bannerlord Mod Template.dll), but SubModule.xml will reference Bannerlord_Mod_Template.dll, which will result in an error. I think the norm in Bannerlord is to remove all spaces (BannerlordModTemplate).

    Also the platform target is set as "Any CPU", which will result in MSB3270 warning messages. If it's possible to set it to x64 that'd be nice.
    1. Dealman
      Dealman
      • member
      • 1 kudos
      Thanks for the info! Will get around to fixing these ASAP.
    2. Dealman
      Dealman
      • member
      • 1 kudos
      I've pushed a new version, 1.1.2 which should fix these issues. You can still add spaces to the project's name but I advise against it.

      Seems like there's a bug with how these parameters are read and even though it should use the safe name, which replaces all spaces with _, for some reason AssemblyName does not read it properly.

      Have submitted a bug report to MSDN but I think this fix should suffice for the time being.

      It now follows a format like Bannerlord_Mod_##