【问题标题】:SqlCredential - missing assembly/namespace in .Net5.0 mvc6 - rc2SqlCredential - .Net5.0 mvc6 - rc2 中缺少程序集/命名空间
【发布时间】:2016-03-25 18:49:57
【问题描述】:

我正在使用带有 .net5.0 的 vs2015 - SqlCredential 在 DNX 4.5.1 中有效,但在 DNX Core 5.0 中无效,即使我在下面添加了这一行(在 dnxcore50 部分下)到依赖项

“System.Data.SqlClient”:“4.0.0-rc2-23819”

仍然从编译器收到错误消息。

【问题讨论】:

    标签: asp.net-core-mvc dnx50


    【解决方案1】:

    https://github.com/dotnet/corefx/issues/6948#event-592420962

    我也在 GitHub 上发布了这个问题 - 答案“System.Security.SecureString 不再存在于 .Net 核心中,因为 SqlClient 无法支持 SqlCredential”

    很高兴知道.net core 现在不支持它,稍后会重新访问

    【讨论】:

      猜你喜欢
      • 2015-02-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-02-14
      • 1970-01-01
      • 2018-02-02
      相关资源
      最近更新 更多