{"action":"created","issue":{"url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/11","repository_url":"https://api.github.com/repos/nunit/dotnet-new-nunit","labels_url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/11/comments","events_url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/11/events","html_url":"https://github.com/nunit/dotnet-new-nunit/issues/11","id":330085055,"node_id":"MDU6SXNzdWUzMzAwODUwNTU=","number":11,"title":"Target framework param is required (does not default properly?)","user":{"login":"Phrohdoh","id":4861023,"node_id":"MDQ6VXNlcjQ4NjEwMjM=","avatar_url":"https://avatars2.githubusercontent.com/u/4861023?v=4","gravatar_id":"","url":"https://api.github.com/users/Phrohdoh","html_url":"https://github.com/Phrohdoh","followers_url":"https://api.github.com/users/Phrohdoh/followers","following_url":"https://api.github.com/users/Phrohdoh/following{/other_user}","gists_url":"https://api.github.com/users/Phrohdoh/gists{/gist_id}","starred_url":"https://api.github.com/users/Phrohdoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phrohdoh/subscriptions","organizations_url":"https://api.github.com/users/Phrohdoh/orgs","repos_url":"https://api.github.com/users/Phrohdoh/repos","events_url":"https://api.github.com/users/Phrohdoh/events{/privacy}","received_events_url":"https://api.github.com/users/Phrohdoh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-07T01:24:11Z","updated_at":"2018-06-07T07:30:39Z","closed_at":"2018-06-07T07:30:39Z","author_association":"NONE","body":"This project's README.md (and [Microsoft's documentation](https://github.com/dotnet/docs/blob/e70561a236c479b5bdd89450e870d828e7d2bc10/docs/core/testing/unit-testing-with-nunit.md#creating-the-test-project)!) says that `dotnet new nunit` is all you need to run to generate an NUnit project.\r\n\r\nThis is not the case currently.\r\n\r\n```shell\r\n$ dotnet new nunit\r\n\r\nUsage: new [options]\r\n\r\nOptions:\r\n  -h, --help          Displays help for this command.\r\n  -l, --list          Lists templates containing the specified name. If no name is specified, lists all templates.\r\n  -n, --name          The name for the output being created. If no name is specified, the name of the current directory is used.\r\n  -o, --output        Location to place the generated output.\r\n  -i, --install       Installs a source or a template pack.\r\n  -u, --uninstall     Uninstalls a source or a template pack.\r\n  --nuget-source      Specifies a NuGet source to use during install.\r\n  --type              Filters templates based on available types. Predefined values are \"project\", \"item\" or \"other\".\r\n  --force             Forces content to be generated even if it would change existing files.\r\n  -lang, --language   Filters templates based on language and specifies the language of the template to create.\r\n\r\n\r\nNUnit 3 Test Project (C#)\r\nAuthor: Aleksei Kharlov aka halex2005 (codeofclimber.ru)\r\nDescription: A project that contains NUnit tests that can run on .NET Core on Windows, Linux and macOS\r\nOptions:                                                                                    \r\n  -f|--framework    The target framework for the project.                                   \r\n                        netcoreapp1.0    - Target netcoreapp1.0                             \r\n                        netcoreapp1.1    - Target netcoreapp1.1                             \r\n                        netcoreapp2.0    - Target netcoreapp2.0                             \r\n                        netcoreapp2.1    - Target netcoreapp2.1                             \r\n                        net35            - Target net35                                     \r\n                        net40            - Target net40                                     \r\n                        net45            - Target net45                                     \r\n                        net451           - Target net451                                    \r\n                        net452           - Target net452                                    \r\n                        net46            - Target net46                                     \r\n                        net461           - Target net461                                    \r\n                        net462           - Target net462                                    \r\n                        net47            - Target net47                                     \r\n                        net471           - Target net471                                    \r\n                        net472           - Target net472                                    \r\n                    Default: netcoreapp2.0                                                  \r\n\r\n  -p|--enable-pack  Whether or not to enable packaging (via (\"dotnet pack\") for the project.\r\n                    bool - Optional                                                         \r\n                    Default: false / (*) true                                               \r\n\r\n  --no-restore      If specified, skips the automatic restore of the project on create.     \r\n                    bool - Optional                                                         \r\n                    Default: false / (*) true                                               \r\n\r\n\r\n* Indicates the value used if the switch is provided without a value.\r\n\r\n$ ls\r\n. ..\r\n```\r\n\r\nNotice there was no `.csproj` or `.cs` files created.\r\n\r\nBut running the following *does* generate the project and C# file.\r\n\r\n```shell\r\n$ dotnet new nunit -f netcoreapp2.0\r\n```"},"comment":{"url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/comments/395321634","html_url":"https://github.com/nunit/dotnet-new-nunit/issues/11#issuecomment-395321634","issue_url":"https://api.github.com/repos/nunit/dotnet-new-nunit/issues/11","id":395321634,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTMyMTYzNA==","user":{"login":"halex2005","id":1401048,"node_id":"MDQ6VXNlcjE0MDEwNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/1401048?v=4","gravatar_id":"","url":"https://api.github.com/users/halex2005","html_url":"https://github.com/halex2005","followers_url":"https://api.github.com/users/halex2005/followers","following_url":"https://api.github.com/users/halex2005/following{/other_user}","gists_url":"https://api.github.com/users/halex2005/gists{/gist_id}","starred_url":"https://api.github.com/users/halex2005/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halex2005/subscriptions","organizations_url":"https://api.github.com/users/halex2005/orgs","repos_url":"https://api.github.com/users/halex2005/repos","events_url":"https://api.github.com/users/halex2005/events{/privacy}","received_events_url":"https://api.github.com/users/halex2005/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T07:30:39Z","updated_at":"2018-06-07T07:30:39Z","author_association":"MEMBER","body":"I've fixed issue, please, use latest version v1.5.1 from [nuget](https://www.nuget.org/packages/NUnit3.DotNetNew.Template)."}}
{"actor":{"display_login":"halex2005"}}