将.net Framework移植到.net核心Microsoft.Xrm.Sdk.Query [英] Porting .net Framework to .net core Microsoft.Xrm.Sdk.Query

查看:97
本文介绍了将.net Framework移植到.net核心Microsoft.Xrm.Sdk.Query的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在将一个项目从.net框架移植到.net核心。为此,我创建了一个新的.net核心(2.2.0)并添加了文件。在.net框架中,我使用了Microsoft.Xrm.Sdk.Query库,但在.net核心中找不到它。我是.net框架和.net
核心的新手。

I am porting a project from .net framework to .net core. For that I created a new .net core (2.2.0) and adding files. In the .net framework I have using Microsoft.Xrm.Sdk.Query library and I could not find it in .net core. I am new to .net framework and .net core.


我想知道在.netcore中实现这个的可能选项是什么。此外,如果我可以获得将项目移植到.netcore的有用链接,那将是很好的我看到微软的文章,但它们非常抽象,很难通过它们作为初学者。 

I want to know what would be the possible option to implement this in .netcore. Further it would be nice if i can get useful link for porting project to .netcore 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆