Показать сообщение отдельно
Старый 09.05.2016, 11:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Use Visual Studio to merge code for an AX 2012 CU
Источник: http://www.agermark.com/2016/05/use-...de-for-ax.html
==============

I'm working on upgrading an AX 2012 WMS solution to CU 10. I have a lot of modifications to the mobile device solution and I need to merge these into the CU 10 code.

Many methods in the mobile solution framework have several hundred lines of code. The largest method I have come across has almost 2800 lines of code.

The AX internal code compare and merge tool is not great in dealing with such large methods. Adding or removing a single line can easily take up to 20 minutes. So this is just not a viable solution for a simple CU upgrade.

I have moved to file based comparison, using Visual Studio, now. There is a few more things I need to keep track of myself, I need to export SYP and VAR files manually and import the merged file manually, but the compare and merge works very fast. Here is a great explanation about how you use Visual Studios merge tool to merge files: https://roadtoalm.com/2013/10/22/use...r-local-files/

You can find of plenty other tools for compare and merge on the Internet, but you probably already have a Visual Studio license. Here is an overview of other tools: https://en.wikipedia.org/wiki/Compar...mparison_tools




Источник: http://www.agermark.com/2016/05/use-...de-for-ax.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.