Bug Report T610051
Visible to All Users

Refactorings - "Extract String to Resource" changes a custom tool and paths

created 7 years ago

Dear DevExpress support team,

when extracting strings to resource file CodeRush changes the resx-property custom tool from PublicResXFileCodeGenerator to ResXFileCodeGenerator.
Even worse an absolute path is prepended to ResXFileRef elements:

<data name="Application_16x16" type="System.Resources.ResXFileRef, System.Windows.Forms">
    <value>C:\VisualStudio\Projects\Main…\Resources\Application_16x16.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
  </data>

Is there an Visual Studio or CodeRush option to stop this behaviour?

Kind Regards
Peter

Comments (1)
DevExpress Support Team 7 years ago

    Hi Peter,
    Thanks for the code snippet.
    We are working on this issue now and will notify you when we have any results.

    Answers approved by DevExpress Support

    created 7 years ago (modified 7 years ago)

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Show previous comments (1)
      DevExpress Support Team 7 years ago

        Peter,

        We have checked this and it appears that custom tool resx-property is indeed replaced. Please give us some time to fix this issue.

          Hi Alex,

          thanks for fixing the resx-property issue!

          Kind Regards
          Peter

          DevExpress Support Team 7 years ago

            Peter,

            You are welcome. I am happy to hear it works well now.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.