Conversation
|
What is the reason it creates the library and not the console application by default? It is much more common to create the console application, and it is not very clear for beginners how to run tests (they need to re-read the documentation). |
| "type": "parameter", | ||
| "datatype": "string", | ||
| "description": "Version of BenchmarkDotNet that will be referenced.", | ||
| "defaultValue": "0.12.1", |
There was a problem hiding this comment.
With each new release, you need to change this manually.
Currently, if you add BDN.Templates, a project will be created with BDN v0.12.1.
There was a problem hiding this comment.
I try to handle this issue – #1879
@AndreyAkinshin could you take a look please ?
| # BenchmarkDotNet templates | ||
|
|
||
| BenchmarkDotNet provides project templates to setup your benchmarks easily | ||
| BenchmarkDotNet provides project templates to setup your benchmarks easily. |
There was a problem hiding this comment.
There is only one space, I think there should be a new paragraph here (a second space is needed)
In the times of BDN v0.12.1, we were trying to promote the |
|
@YegorStepanov works like a charm! Thanks for updating the templates! |

The
frameworkparameter must be of typechoice(see the discussion with the VS developers below).Currently:

VS doesn't display the templates at all.
Rider displays it with disabled dropdown but crashes when creating project.
The
choicetype means that we have to write all the supported frameworks by hand.I've added all version frameworks, that have not expired end-of-life:
Also we can no longer use platform-specific TFM:
But it's ok because
consoleuse a choice too, so we cannot create platform-specific TFM:More details with screenshots: sayedihashimi/template-sample#73
IDE screenshots
VS:


Rider:

fix #1881, fix #2149, fix #1658
the PR #1817 can be closed too?