IntelliJ 骑士 global.json .NET 核心

IntelliJ Rider global.json .NET Core

我已经为 Mac OS 下载了 IntelliJ Rider。 如何打开带有 global.json 文件的解决方案? 这是我的项目结构:

    ..
    src/
    test/
    global.json

这是global.json内容:

 {
    "projects":[
      "src",
      "test"
    ]
 }

JetBrain 的 Rider 不支持打开 .NET Core 应用程序,除非它们有 .sln.xproj 文件。

这里引用 from their recent release 更详细地解释(强调):

Like Visual Studio, Rider requires existing projects to have both .sln and .xproj files; it doesn’t support opening a project.json file directly. And of course, with the recent announcements that project.json is being replaced by MSBuild .csproj files, it is now very unlikely that we will implement this support only for it be obsolete in a few months time. If you have an existing project that only has project.json, you can create a new project in a temporary folder and copy the .sln and .xproj files across and Rider will be able to open the project.