Adding Binding Redirects

This command adds binding redirects to the app.config or web.config file:

Add-BindingRedirect [-ProjectName] <string>

It has not been explicitly mentioned earlier in this book because, as of NuGet v1.2, this command is run automatically when needed during package installation. The available parameter for this command is shown in Table C-1.

images

Get Pro NuGet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.