Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rider Support #692

Open
Hackmodford opened this issue Dec 16, 2019 · 3 comments
Open

Rider Support #692

Hackmodford opened this issue Dec 16, 2019 · 3 comments

Comments

@Hackmodford
Copy link
Contributor

Is it possible to have this as a plugin for Jetbrain's Rider IDE?

@Hackmodford
Copy link
Contributor Author

Hackmodford commented Jan 17, 2021

Was reading up on how to do this.

Rider supports templates via dotnet new.
I'm guessing Rider simply doesn't support all of the features in the template file.

Screen Shot 2021-01-17 at 11 06 22 AM

@Plac3hold3r
Copy link
Owner

@Hackmodford if I understand correctly (I have not used Rider before) the top part "Solution name:" "Project name:" is all inferred from the template options, but the other config options are not?

@Hackmodford
Copy link
Contributor Author

I'm not sure.

According to their doc, you can do something like this.

{
  "author": "Your Name",
  "name": "Async Main Console Application",
  "description": "A project for creating a command-line application that can run on .NET Core on Windows, Linux and macOS, and has an async Main method.",
  "identity": "YourName.ConsoleApp.1.0",
  "shortName": "consoleasync",
  "tags": {
    "language": "C#",
    "type": "project"
  },
  "sourceName": "MyProject",
  "symbols": {
    "Framework": {
      "type": "parameter",
      "description": "The target framework for the project.",
      "datatype": "choice",
      "choices": [
        {
          "choice": "netcoreapp2.0"
        },
        {
          "choice": "netcoreapp3.0"
        }
      ],
      "defaultValue": "netcoreapp2.0"
    }
  }
}

And expect to see this.
custom_project_template

But it doesn't seem to work in our case. So maybe they just don't support all the configuration options of dotnet new?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants