Created
August 5, 2022 02:22
-
-
Save rpbeukes/6b327fa2896b53ee885069d0e87dd7c9 to your computer and use it in GitHub Desktop.
Visual Studio Publish to local NuGet directory with a file suffix of local datetime.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project> | |
<PropertyGroup> | |
<Configuration>Debug</Configuration> | |
<Platform>Any CPU</Platform> | |
<PublishDir>..\..\..\..\NuGetLocal</PublishDir> | |
<PublishProtocol>FileSystem</PublishProtocol> | |
<TargetFramework>netstandard2.1</TargetFramework> | |
<VersionSuffix>$([System.DateTime]::Now.ToString("yyyyMMddHHmmss"))</VersionSuffix> | |
</PropertyGroup> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output:
My.Awesome.Package.1.0.0-20220602153932.nupkg