GithubHelp home page GithubHelp logo

updeps's Introduction

updeps

Uses your csproj file (or multiple) to update nuspec dependencies.

Image you have a project Foo.csproj and you created a custom Foo.nuspec. You do it by your self because the automated generation of nuspec files in Visual Studio actually sucks. So, now you always forgetting to update your dependencies. With updeps you can update your nuspec file with just one following command.

updeps Foo.csproj Foo.nuspec

Or in case you want to combine multiple project in one nuspec file then run following

updeps Foo.csproj Bar.csproj Foo.nuspec

It will output something like this

Reading C:\Projects\Foo.csproj
  Added 2.0.1 Microsoft.AspNetCore.Authorization
  Added 2.0.1 Microsoft.AspNetCore.Hosting.Abstractions
  Added 2.0.1 Microsoft.AspNetCore.WebUtilities
  Added 2.0.0 Microsoft.Extensions.Configuration
  Added 2.0.0 Microsoft.Extensions.Configuration.Binder
  Added 2.0.0 Microsoft.Extensions.Configuration.CommandLine
  Added 2.0.0 Microsoft.Extensions.Configuration.EnvironmentVariables
  Added 2.0.0 Microsoft.Extensions.Configuration.FileExtensions
  Added 2.0.0 Microsoft.Extensions.Configuration.Json

And if you hook it up to MSBuild then Visual Studio will do it automatically for you on every build. But for me, I hooked it into my NuGet publishing script.

updeps's People

Contributors

aruss avatar

Watchers

 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.