I have created a project Template for MS Orleans Grain (.NET Standard 2.0 project) To install using this command:
dotnet new -i OrleansGrain.NetCore.ProjectTemplate::*
The package is hosted on Nuget.org, with .NET Console App I managed to make it work, but this package is .NET Standard 2.0 Class Library and when I try to install i got the following error message:
C:\Users\thiag.templateengine\dotnetcli\v2.1.403\scratch\restore.csproj : error NU1202: Package OrleansGrain.NetCore.ProjectTemplate 1.0.2 is not compatible with netcoreapp1.0 (.NETCoreApp,Version=v1.0). Package OrleansGrain.NetCore.ProjectTemplate 1.0.2 supports: netstandard2.0 (.NETStandard,Version=v2.0) Generating MSBuild file C:\Users\thiag.templateengine\dotnetcli\v2.1.403\scratch\obj\restore.csproj.nuget.g.props. Generating MSBuild file C:\Users\thiag.templateengine\dotnetcli\v2.1.403\scratch\obj\restore.csproj.nuget.g.targets. Restore failed in 1.73 sec for C:\Users\thiag.templateengine\dotnetcli\v2.1.403\scratch\restore.csproj.