我正在将一个项目从框架移植到核心。为此,我创建了一个新的核心(2.2.0)并添加了文件。在框架中,我使用了Microsoft.Xrm.Sdk.Query库,但在核心中找不到它。我是框架和 核心的新手。
I am porting a project from framework to core. For that I created a new core (2.2.0) and adding files. In the framework I have using Microsoft.Xrm.Sdk.Query library and I could not find it in core. I am new to framework and core.
我想知道在core中实现这个的可能选项是什么。此外,如果我可以获得将项目移植到core的有用链接,那将是很好的我看到微软的文章,但它们非常抽象,很难通过它们作为初学者。
I want to know what would be the possible option to implement this in core. Further it would be nice if i can get useful link for porting project to core I saw Microsoft articles but they are very much abstract and its hard to go through them as a beginner.
推荐答案
不幸的是,NuGet上的所有Microsoft Dynamic CRM软件包都是针对.NET v3.5或v4.5.2的。这些软件包都不支持.NET Core / Standard版本。
Unfortunately, all packages for Microsoft Dynamic CRM on NuGet either targets .NET v3.5 or v4.5.2. None of these packages supports .NET Core/Standard versions.
由于Dynamic CRM论坛已经存档且无法发布,请尝试询问 他们的论坛并看到如果有任何计划发布可用于.NET核心版本的软件包。
Since the Dynamic CRM forum is already archived and cannot post there, try ask at their forum and see if there were any plan to release packages usable by.NET Core versions.
PS:从网站的搜索结果来看,它看起来也不好看。 Microsoft。 CrmSdk.CoreAssemblies DLL仅适用于.NET4.6.2,不适用于.NET Core版本。其他线程没有回复。
P.S.: From the search results of the sites it doesn't look good either. The Microsoft.CrmSdk.CoreAssemblies DLLs are for .NET4.6.2 only and not usable by .NET Core versions. Other threads have no reply.
如果您的公司拥有该产品,我建议您直接联系他们的销售/支持,看看是否有.NET Core可用SDK版本的计划。如果没有,您应该将项目从.NET Core切换回完整的.NET框架。
If your company owns the product, I'll advise you to contact their sales/support directly and see if there are plans for .NET Core usable SDK releases. If not, you should switch back the project from .NET Core to full .NET framework.
更多推荐
将.net Framework移植到.net核心Microsoft.Xrm.Sdk.Query
发布评论