【问题标题】:JetBrains Rider not detecting mono or Unity APIJetBrains Rider 未检测到单声道或 Unity API
【发布时间】:2021-06-22 15:21:18
【问题描述】:

我正在尝试让 JetBrains Rider 2020.3 在 Ubuntu 20.04.2 上正常工作。我已经安装了 mono 和 dotNet 以下来自该站点 (https://rider-support.jetbrains.com/hc/en-us/articles/207335749-Using-Project-Rider-under-Linux-prerequisites) 的链接。

Rider 检测到 mono、.net CLI 和 MSBuild 16,但是当我创建新的“控制台应用程序”时,Rider 甚至无法识别“系统”命名空间。

这是我的依赖项的控制台输出。

~> dotnet --list-sdks
5.0.201 [/usr/share/dotnet/sdk]
~> mono --version
Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-2 Wed Feb 26 23:23:50 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        Interpreter:   yes
        LLVM:          supported, not enabled.
        Suspend:       hybrid
        GC:            sgen (concurrent by default)
~> dotnet --version
5.0.201`

【问题讨论】:

    标签: c# unity3d ubuntu mono rider


    【解决方案1】:

    解决了!

    我必须添加

    export FrameworkPathOverride=/usr/lib/mono/4.5/
    

    由于 SDK 错误,转至 .xprofile 文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-12
      • 1970-01-01
      • 1970-01-01
      • 2022-06-17
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多