• Stars
    star
    207
  • Rank 183,306 (Top 4 %)
  • Language
    C#
  • License
    Microsoft Public ...
  • Created almost 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Visual Studio extension to switch between NuGet and project references.

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.

For .NET Core and Standard projects, check out DNT (DotNetTools)

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 SDK:

https://msdn.microsoft.com/en-us/library/mt683786.aspx

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

Visual Studio 2017:

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

And set the Command line arguments to:

/rootsuffix Exp

More Repositories

1

NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
C#
6,500
star
2

NJsonSchema

JSON Schema reader, generator and validator for .NET
C#
1,325
star
3

DNT

DNT (DotNetTools): Command line tools to manage .NET projects and solutions.
C#
397
star
4

MyToolkit

MyToolkit for .NET
C#
335
star
5

VisualJsonEditor

A JSON schema based file editor for Windows.
C#
333
star
6

Namotion.Reflection

.NET library with advanced reflection APIs.
C#
202
star
7

SigSpec

Specification and code generator for SignalR Core.
C#
156
star
8

ProjectDependencyBrowser

Application to browse, sort, filter and launch your Visual Studio projects.
C#
46
star
9

Namotion.Messaging

.NET abstractions and implementations for message brokers, event queues and data ingestion services.
C#
46
star
10

Namotion.Storage

.NET abstractions and implementations for storage services like blob storages, file systems or object storages.
C#
35
star
11

PowerCmd

PowerCmd: The Windows Prompt replacement.
C#
33
star
12

NConsole

NConsole is a .NET library to parse command line arguments and execute commands.
C#
31
star
13

HomeBlaze

Home Automation with .NET/Blazor
C#
12
star
14

DotNetMicroservice

C#
11
star
15

InsideAsyncAwait

C#
8
star
16

aurelia-bs

Bootstrap UI (CSS framework) components for Aurelia JS.
TypeScript
7
star
17

ShopOnCore

C#
7
star
18

AureliaBootstrapDialogs

JavaScript
6
star
19

SampleOutputProcessorActionFilter

Sample application for a blog article.
C#
5
star
20

ScopeCheckingNinjectKernel

C#
3
star
21

DockerDemo

ASP.NET Core with Docker sample and tutorial
C#
3
star
22

SampleWcfService

Sample application for a blog article.
C#
3
star
23

VistoJS

Visto JavaScript Framework (VistoJS)
TypeScript
2
star
24

SampleSortableChildCollectionForm

Sample ASP.NET MVC application with edit form for an entity with a collection property.
CSS
2
star
25

SampleEfMigrationsApplication

C#
2
star
26

RicoSuter

1
star
27

SampleProjectRepository

Sample projects for package and dependency management tests.
C#
1
star
28

MdFileWiki

C#
1
star