{"id":20526602,"url":"https://github.com/nikvoronin/autoversionprebuild","last_synced_at":"2026-05-09T19:39:43.864Z","repository":{"id":144197555,"uuid":"168020589","full_name":"nikvoronin/AutoVersionPreBuild","owner":"nikvoronin","description":"Auto incremental version number in a date format like v19.12.03.1643.","archived":false,"fork":false,"pushed_at":"2019-07-15T09:27:53.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T11:27:06.178Z","etag":null,"topics":["csharp","dotnet","powershell-script","pre-build","version-control","versions","visual-studio"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikvoronin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-28T19:14:37.000Z","updated_at":"2019-07-15T09:27:55.000Z","dependencies_parsed_at":"2023-06-16T07:30:37.527Z","dependency_job_id":null,"html_url":"https://github.com/nikvoronin/AutoVersionPreBuild","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikvoronin%2FAutoVersionPreBuild","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikvoronin%2FAutoVersionPreBuild/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikvoronin%2FAutoVersionPreBuild/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikvoronin%2FAutoVersionPreBuild/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikvoronin","download_url":"https://codeload.github.com/nikvoronin/AutoVersionPreBuild/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242133430,"owners_count":20077095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","powershell-script","pre-build","version-control","versions","visual-studio"],"created_at":"2024-11-15T23:14:53.593Z","updated_at":"2026-05-09T19:39:38.835Z","avatar_url":"https://github.com/nikvoronin.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Version Number As A Build Date \n\nOr a build date as a version number. Auto incremental version in a date format like: `Version 19.12.03.1643`. The script itself changes version attribute only.\n\nDrop [pre-build.ps1](https://github.com/nikvoronin/AutoVersionPreBuild/blob/master/src/pre-build.ps1) next to .sln file then add at the\u003cbr/\u003e\n`Visual Studio -\u003e Project Settings -\u003e Build Events -\u003e Pre-build event command line`\n\nnext line\n```\npowershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File \"$(SolutionDir)pre-build.ps1\" -ProjectDir \"$(ProjectDir)\\\"\n```\n\nDo not remove last slash `\\\"`\n\n# Optional Parameters\n\n-PropertiesDir \"Properties\"\n\n-AsmInfoFilename \"AssemblyInfo.cs\"\n\n## Example\n```\npowershell.exe -ExecutionPolicy Bypass -NoProfile -NonInteractive -File \"$(SolutionDir)pre-build.ps1\" -ProjectDir \"$(ProjectDir)\\\" -PropertiesDir \"Properties\" -AsmInfoFilename \"AssemblyInfo.cs\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvoronin%2Fautoversionprebuild","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikvoronin%2Fautoversionprebuild","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvoronin%2Fautoversionprebuild/lists"}