Giter VIP home page Giter VIP logo

vspte's Introduction

vspte (Visual Studio Project Template Exporter)

A command line tool to create Visual Studio project templates for existing projects (like File->Export Template... feature in Visual Studio, but in command line, thus can be easily automated).

Features

In addition to project template generation, the tool provides next features:

  • VSIX support: generates VSIX package, for one-click install your project template into Visual Studio as an extension.
  • NuGet support: includes all project NuGet packages to auto-install them during project creation.
  • Install scripts support: runs install.ps1 or install.cmd scripts during project creation (yyep, like lovely NuGet feature!).
  • Custom wizards support: adds your wizards to the package and calls them during project creation.
  • Different .NET and VS support: automatically replaces .NET and VS versions in the target project according to user's selection.
  • Small fixes for template generation: project items as links with relative paths support, .ps1/.cmd file replacements etc.
  • Deployed via NuGet.

Installation

Install via NuGet (Visual Studio 2013):

Install-Package vspte

Or if you're using Visual Studio 2012:

Install-Package vspte.vs2012

Of download the tool from GitHub releases section.

Example of usage

Run in terminal:

vspte -s MvcCmsTemplate.sln -p Website --vsix Package --nuget

This command will create a template for Website project in solution by path .\MvcCmsTemplate.sln, and build VSIX package including NuGet packages, using the manifest from Package project in the same solution.

Command-line reference

Call vspte or vspte --help to see this help screen:

-s, --sln        Required. Path to .sln file containing the project you wish to export a template from

-p, --project    Required. The name of a project for template export

--vsix           Create VSIX package with project template

--nuget          Include NuGet packages to the project template

--help           Display the help screen

Credits

Pavel Nezhencev, 2013

vspte's People

Contributors

whyleee avatar

Watchers

James Cloos avatar Eric Solari avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.