Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Packaging templates as a nupkg #16

Open
pierceboggan opened this issue Jun 19, 2017 · 3 comments
Open

Packaging templates as a nupkg #16

pierceboggan opened this issue Jun 19, 2017 · 3 comments

Comments

@pierceboggan
Copy link

I'm not aware of any documentation and/or samples on how to package up a group of templates as a nupkg (though we do have documentation on actually installing from a nupkg in the dotnet/templating README).

@sayedihashimi
Copy link
Member

Let me chat with @mlorbetske on this one. On windows you can use nuget.exe to package a nuget package with a .nuspec. For xplat support I think it gets much more complicated to produce that package.

@sayedihashimi
Copy link
Member

From @mlorbetske I have heard that @mhutch may have something that we can use to create nuget packages in a cross platform friendly way.

@mhutch
Copy link
Member

mhutch commented Jun 23, 2017

Yep you can use NuGetizer.

Here's an example: https://gist.github.com/mhutch/075c97186d3f709bbc79213c68a46b7e

Just build the Pack target or set the PackOnBuild property to true.

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

No branches or pull requests

3 participants