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