最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

How to rename an Object in VisualStudio[Dynamics365/AX7]

网络文摘 William 2630浏览 0评论

Hi Folks,

Many times we need to duplicate an standard object and do the required changes and system gives warning while rename. Same caused error during project build.

 Problem: While renaming any object in Visual studio project system throw below warning

“Some of the files you are renaming or moving will be located outside of the project's binding root. The item(s) <objectName>.xml will not be source controlled if you continue with this rename.”

image

If you just continue with change , you may get errors while project/solution build.

Possible reason: If you are using TFS and this new object are not added to source code you’' will get this error.

Suggest Solution: Add this new object in Source control by right click on object and select “Add file  to source control”

image

Now you should be able to rename it.

This works for me perfectly. If you got some other solution to fix this issue plz keep share your feedback or links to other posts.

-Harry

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址