lingdanglfw(DAX)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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.

image

 
 

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.

posted on   lingdanglfw  阅读(46)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2021-11-23 Azure DevOps is a Microsoft product that provides version control for Dynamics 365 CRM
2021-11-23 Azure DevOps for Power Platform - Build Pipeline
2011-11-23 odd method
点击右上角即可分享
微信分享提示