Version Control for Visual Studio projects and MS Dynamics CRM (javascript)

雨燕双飞 提交于 2019-12-24 08:26:42

问题


I'm looking for Version Control that warns a use when opening a file if that file is being modified by another user. Is this possible?

We also use Microsoft Dynamics CRM 2011 and are looking to use some kind of version control for the javascript files. Does someone has experience with using Dynamics CRM and version control?

Thank you for any information!


回答1:


You could implement this in Team Foundation Server (TFS) or other version control applications that support single checkout. You will need to either manually deploy the JScript or create an auto deployment process through the SDK. TFS will need to be setup for single checkout which will only allow a single user to checkout the files at a given time. This should disallow multiple people from making edits at once. It is a good idea to appoint a single person as the build master who will be in charge of merging changes into CRM.

EDIT: JScript is syntactically very close to JavaScript. Microsoft CRM uses and has always used JScript for its form scripting. JScript is basically Microsofts version of JavaScript. Differences are discussed @ What's the difference between JavaScript and JScript? and http://en.wikipedia.org/wiki/JScript

Excerpt from Microsoft Dynamics CRM 2011 SDK:

Microsoft JScript libraries are Script (JScript) Web Resources that contain functions you can use to:

Handle form and field events.

Perform actions for controls configured in the Ribbon.

Support other functions.



来源:https://stackoverflow.com/questions/6121024/version-control-for-visual-studio-projects-and-ms-dynamics-crm-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!