【问题标题】:Issue with reference .net core class library to project将 .net 核心类库引用到项目的问题
【发布时间】:2020-05-16 02:49:55
【问题描述】:

我创建了新的 asp.net core WebApplication 和 .net core 类库。 然后我尝试从 asp.net core 添加对 .net core 类库的引用。 它构建正常,但不可见。

有什么想法吗?

【问题讨论】:

  • 你的 Resharper 是最新的吗?
  • 我已将其更新为 Ultimate 2016.1.2,它提供了添加参考的建议,但它没有帮助,并且参考已经添加。这很奇怪,但如果我重新运行 Visual Studio,它会暂时可见,然后再不可见。
  • 你使用的是什么版本的 Visual Studio,看起来你还有VS 2015 Update 1,但你需要Update 2
  • 我有 VS 2015 更新 2

标签: c# asp.net-core asp.net-core-mvc


【解决方案1】:

有什么想法吗?

是的,this 有时可能与 ReSharper 的缓存相关。

按照以下步骤操作:

  1. Build > Clean Solution
  2. Resharper > Options> General > "Clear Cache"
  3. Restart Visual Studio
  4. Build > Rebuild Solution

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多