Manage your references to .Net assemblies Dynamics 365 for Operations VS projects
(Dynamics 365 for Operations was previously known as the New Dynamics AX)
Dynamics 365 for Operations Visual Studio projects allow X++ code to interact seamlessly with code written in other .Net languages.
You can reference a C# project as described or reference third party .Net assemblies directly from your Visual Studio project as shown in the image below.
Once you have a reference to a .Net assembly added, an AxReference element is added to your model and the assembly (dll) is automatically copied to the bin folder of your package. For example, If you are developing in the model ISVModel1 that belongs to the package ISVPackage1:
- The assembly will be copied to \ISVPackage1\bin\Thirdpartyassembly.dll
- An AXReference is created in \ISVPackage1\ISVModel1\AxReference\Thirdpartyassembly.xml
If you are using version control, make sure you check-in both files (in the example above) to your VSTS repository, so other developers can synchronize them and the build automation system on build environments can build your code successfully.
When you create a deployable package (for deployment to sandbox or production) on a dev/build VM that has these 2 files (AxReference and assembly files) in the desired location, the deployable package will automatically contain the needed AxReference and assembly files.
最新文章
- T4
- 洛谷U4807抽水机[最小生成树]
- discuz论坛移植修改数据库配置
- close与shutdown函数
- DB2导出脚本,重新建立数据库
- SQLServer中char、varchar、nchar、nvarchar的区别:
- SharePoint通过stsadm备份和还原子网站(不是网站集)
- jquery选取iframe
- [iOS UI进阶 - 3.1] 触摸事件的传递
- CentOS 7上安装PGI 2017编译器
- spring boot 1.x配置,不断完善中
- Android adb input 命令介绍
- RabbitMQ学习之延时队列
- sql,按照时间排序,取前N条
- 1025 反转链表(链表,reverse)
- Java中的设计模式之单例模式
- uva 10994 - Simple Addition(规律)
- springboot+websocket+sockjs进行消息推送【基于STOMP协议】
- 【MVC5】使用权限+角色
- JavaScript消息机制入门篇