Skip to content

dgmjr-io/JustInTimeVersioning

Repository files navigation

title authors description type slug project license lastmod version date keywords
Just-in-Time-Versioning SDK
dgmjr
An SDK for ensuring that NuGet package versions are kept in sync just in time.
readme
time-versioning-sdk
Shared
MIT
2023-07-02 00:20:59 UTC
0.0.1
2023-07-02 00:09:50 UTC
msbuild-sdk
just-in-time-versioning
versioning

Just-in-Time-Versioning SDK

An SDK for ensuring that NuGet package versions are kept in sync just in time.

Prerequisites

Getting Started

Add the following code to any of your project files:

<Sdk Name="JustInTimeVersioning" />

And also add the following to your global.json file:

"msbuild-sdks":{
    "JustInTimeVersioning": "the-current-version-of-JustInTimeVersioning"
}

Next, you'll want to initialize your just-in-time packages folder by running the following command:

    msbuild [yourprojectname].*proj -t:InitJustInTimeVersioning

This will create the packages folder and populate it with empty .json and .props files, which will be used to hold the latest versions of your NuGet packages.