Giter Site home page Giter Site logo

lisitsyn-a / nugetreferenceswitcher Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ricosuter/nugetreferenceswitcher

0.0 2.0 0.0 456 KB

Visual Studio extension to switch between NuGet and project references.

Home Page: http://nugetreferenceswitcher.org

License: Microsoft Public License

Batchfile 0.83% C# 99.17%

nugetreferenceswitcher's Introduction

NuGet Reference Switcher

NuGet Reference Switcher is a Visual Studio extension which automatically switches NuGet assembly references to project references and vice-versa. This is useful when developing applications which reference own NuGet packages: When developing an application, switch to project references so that all code is editable and debuggable. After finishing the development, create new NuGet package versions, switch back to NuGet references and upgrade to the new NuGet versions.

Guide about how to use the extension

Features:

  • Switches from NuGet DLL references to project references and stores the changes to revert them later
  • Automatically adds and removes projects to the solution if desired
  • Checks project dependencies so that the projects get added and removed in the correct order

Download from Visual Studio Gallery

The NuGet Reference Switcher extension is developed by Rico Suter using the MyToolkit library.

(This project has originally been hosted on CodePlex)

How to build the extension

In order to build the extension, you need to install the Visual Studio SDK(s):

Visual Studio 2012 SDK:

http://www.microsoft.com/en-us/download/details.aspx?id=30668

Visual Studio 2013 SDK:

http://www.microsoft.com/en-us/download/details.aspx?id=40758

Visual Studio 2015 RC SDK:

http://www.microsoft.com/en-us/download/details.aspx?id=46850

After installing the SDK, run one of the batch files from the /build directory in the corresponding Visual Studio Command Prompt. The release output can be found in the /build/Output directory.

How to debug the extension

Right click on the extension project and select Properties. In the Debug tab set Start External Program to one of the following Visual Studio executables:

Visual Studio 2012:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe

Visual Studio 2013:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe

Visual Studio 2015:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe

And set the Command line arguments to:

/rootsuffix Exp

nugetreferenceswitcher's People

Contributors

ricosuter avatar twenzel avatar

Watchers

 avatar  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.