Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Replacing Copyright from AssemblyInfo

    Scheduled Pinned Locked Moved Support
    buildmaster
    6 Posts 1 Posters 3 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      BuildMaster is replacing the Copyright unicode, when writing the assembly version.

      It is replacing from © to �.

      Any ideas?

      Thanks

      Product: BuildMaster
      Version: 4.0.8

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Looks like this should be a code change to infer current encoding from... can you post this to Github as an issue?

        https://github.com/Inedo/bmx-windowssdk/blob/master/DotNet/WriteAssemblyInfoVersionsAction.cs

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Issue created:

          https://github.com/Inedo/bmx-windowssdk/issues/22

          Thanks

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Actually this should not be happening from the "Write Assembly Verisons" action, as the action simply reads the file as bytes, interprets them as UTF-8, does the replacement, then writes the file back out as UTF-8.

            Is there perhaps another action that is modifying this file after this one?

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Hi Tod,

              There is no other action that overwrites the assemblyinfo file.

              Let me rephrase my statement, after writing the assembly version, buildmaster changes © unicode to another unicode. It still shows a copyright unicode, but smaller then ©, where browsers cannot render, showing �.

              Maybe it is a UTF encoding issue?

              Thanks

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                It sounds like there are some encoding issues; i would make sure your assemblyinfo file in source control is saved as UTF-8.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation