-
Notifications
You must be signed in to change notification settings - Fork 563
Add the template for content authors to easily get started with dotnet try #227
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
Conversation
| "DateTime" => DateTime(), | ||
| "Guid" => Guid(), | ||
| "EmptyRegion" => EmptyRegion(), | ||
| _ => EmptyRegion() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😀
jonsequitur
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't see the template .nupkg getting built in the log; the project Microsoft.DotNet.Try.ProjectTemplate.Tutorial.csproj needs to be added to the solution.
|
@brettfo Where can I see those logs ? |
|
Click |
|
https://github.com/tintoy/dotnet-template-templates. I referred this repo for adding the csproj that will include the package id and all the metadata and it seems to work well 🗡 |
|
@brettfo I am not able to understand how can I download the artifacts produced by this build. I went to the artifacts section but I see only logs there. Do we need to push it to myget to be able to see it ? |
This PR adds a template which can be installed using a nuget package as follows:
(Right now we will have to use fully qulified path to the nupkg so something like
dotnet new -i ./Microsoft.DotNet.Try.ProjectTemplate.Tutorial.1.0.44142.42.nupkg)
This would add the template to the list of templates in dotnet new and the output would be like below:

dotnet new trydotnet-tutorial.This would create a project file, a Program.cs and a Readme.md which will have reference to the project and the program file. Now you can execute "dotnet try" directly in this repository.