使用.net Maui使用Microsoft.data.sqlclient是安全的吗?

发布于 2025-02-10 22:03:15 字数 566 浏览 0 评论 0原文

我正在研究一个.NET MAUI应用程序,该应用程序旨在成为SQL Management Studio的现代,轻便的替代品。我认为这将是一个很好的项目

。包装到我的毛伊岛项目,但我看到很多警告可能与MacCatalyst玩耍可能不太好...但是,到目前为止,一切似乎都起作用。忽略警告是安全的,还是我应该遇到的更深层次的问题?

我尝试了谷歌搜索,但是关于SQLClient如何在毛伊岛环境中相处的信息没有很多信息。任何想法或建议都将受到赞赏。

我看到警告的例子: /Users/jjackson/code/sqlmanager/sqlmanager.csproj: Warning NU1703: 'Microsoft.CSharp 4.5.0' was resolved as a dependency of 'sqlmanager', but the dependency is using 'Xamarin.iOS' while 'sqlmanager “使用'Net6.0-Maccatalyst15.4'作为目标帧。当MacCatalyst项目依赖Xamarin.ios项目时,可能存在兼容性问题。 (NU1703)(SQLManager)

I'm working on a .net maui app that is intended to be a modern, lightweight alternative to SQL Management Studio. I thought this would be a good project to learn .NET Maui with, since I am already very familiar with SQL Server, doing database backups, restores, etc.

I started a .NET Maui app, and added the Microsoft.Data.SqlClient nuget package to my MAUI project, but I'm seeing a lot of warnings about the dependencies possibly not playing nice with MacCatalyst... However, so far everything seems to work. Is it safe to ignore the warnings, or are there deeper issues that I should expect to run into?

I tried googling, but there's not a lot of info about how sqlclient gets along in a MAUI environment. Any thoughts or suggestions are appreciated.

Examples of warnings I see:
/Users/jjackson/code/sqlmanager/sqlmanager.csproj: Warning NU1703: 'Microsoft.CSharp 4.5.0' was resolved as a dependency of 'sqlmanager', but the dependency is using 'Xamarin.iOS' while 'sqlmanager' is using 'net6.0-maccatalyst15.4' as its TargetFramework. There might be compatibility issues when MacCatalyst projects depend on Xamarin.iOS projects. (NU1703) (sqlmanager)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文