{"id":20641859,"url":"https://github.com/sakapon/build-release","last_synced_at":"2025-07-15T07:09:58.306Z","repository":{"id":74866674,"uuid":"117971041","full_name":"sakapon/Build-Release","owner":"sakapon","description":"A set of tools to build .NET projects.","archived":false,"fork":false,"pushed_at":"2020-04-15T09:06:53.000Z","size":2301,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T00:48:23.551Z","etag":null,"topics":["build","msbuild","nuget","powershell","versioning","zip"],"latest_commit_sha":null,"homepage":"","language":"C#","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/sakapon.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":"2018-01-18T10:56:30.000Z","updated_at":"2022-05-19T16:04:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"782a4374-5100-4533-9c97-9042392820ad","html_url":"https://github.com/sakapon/Build-Release","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakapon%2FBuild-Release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakapon%2FBuild-Release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakapon%2FBuild-Release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sakapon%2FBuild-Release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sakapon","download_url":"https://codeload.github.com/sakapon/Build-Release/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182786,"owners_count":21226123,"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":["build","msbuild","nuget","powershell","versioning","zip"],"created_at":"2024-11-16T16:07:01.297Z","updated_at":"2025-04-16T01:38:01.538Z","avatar_url":"https://github.com/sakapon.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build Release\nA set of tools to build .NET projects.\n\n[![license](https://img.shields.io/github/license/sakapon/Build-Release.svg)](https://github.com/sakapon/Build-Release/blob/master/LICENSE)\n\nThe following tools are contained:\n- [**Initial Set**](#initial-set)\n- [**Version 1up**](#version-1up)\n- [**Zip Release**](#zip-release)\n- [**NuGet Packup**](#nuget-packup)\n\nSee [Specification](docs/Specification.md) for details.\n\nThere are options to use the tools:\n- Download [the PowerShell script files](https://github.com/sakapon/Build-Release/tree/master/Downloads) and extract them to any folder\n- Add the PowerShell scripts above to `External Tools` in Visual Studio (**recommended**)\n- Install the PowerShell script files to a .NET project by NuGet\n\nSee [Usage](#usage) for details.\n\n## Initial Set\nThe PowerShell script to add initial settings to the project that will be released.\n\n![](docs/images/InitialSet-Change.png)\n\n## Version 1up\n[![NuGet](https://img.shields.io/nuget/v/KTools.Version1up.svg)](https://www.nuget.org/packages/KTools.Version1up/)\n[![NuGet](https://img.shields.io/nuget/dt/KTools.Version1up.svg)](https://www.nuget.org/packages/KTools.Version1up/)  \n[NuGet Gallery | KTools.Version1up](https://www.nuget.org/packages/KTools.Version1up/) (for the .NET Framework project format)\n\nThe PowerShell script to increment the assembly version.\n\n![](docs/images/Version1up-Change.png)\n\n## Zip Release\n[![NuGet](https://img.shields.io/nuget/v/KTools.ZipRelease.svg)](https://www.nuget.org/packages/KTools.ZipRelease/)\n[![NuGet](https://img.shields.io/nuget/dt/KTools.ZipRelease.svg)](https://www.nuget.org/packages/KTools.ZipRelease/)  \n[NuGet Gallery | KTools.ZipRelease](https://www.nuget.org/packages/KTools.ZipRelease/) (for the .NET Framework project format)\n\nThe PowerShell script to build the project and create a ZIP file.\n\n![](docs/images/ZipRelease-Explorer.png)\n\n## NuGet Packup\nThe PowerShell script to build the project and create a NuGet package.\n\n![](docs/images/NuGetPackup-Explorer.png)\n\n## Usage\nThere are options to use the tools:\n- Download the latest version of [the PowerShell script files](https://github.com/sakapon/Build-Release/tree/master/Downloads) and extract them to any folder\n  - Execute the scripts on the project folder\n- Add the PowerShell scripts above to `External Tools` in Visual Studio (**recommended**)\n  - Execute the menu on the project\n- Install the PowerShell script files to a .NET project by NuGet\n  - Execute the scripts on the project folder\n\nYou can customize the PowerShell script to meet your needs.\n\n### How to Add the Scripts to External Tools in Visual Studio\nChoose the menu `Tools \u003e External Tools`, and add a new content with the following information:\n- Title: any\n- Command: `powershell.exe`\n- Arguments: `-ExecutionPolicy Unrestricted \"C:\\scripts_folder\\KTools.xxx.ps1\"`\n- Initial directory: `$(ProjectDir)`\n- Use Output window: `On`\n\n![ExternalTools](docs/images/ExternalTools.png)\n\n## Testing Environment\n- Visual Studio 2017\n- Visual Studio 2019\n\n## Release Notes\n- **v2.1.14**\n  - Add [**Initial Set**](#initial-set).\n  - Update paths to MSBuild.exe for Visual Studio 2019.\n- **v2.0.10** For .NET Core.\n- **v1.2.6** Find the path to .ps1 files, regardless of the current directory.\n- **v1.2.5** Find the path to MSBuild.exe.\n- **v1.2.4** Rename .ps1 files.\n- **v1.1.3** The first release.\n\n## References\n- [.NET Regular Expressions](https://msdn.microsoft.com/library/hs600312.aspx)\n- [.nuspec File Reference for NuGet](https://docs.microsoft.com/en-us/nuget/schema/nuspec)\n- [NuGet Package Version Reference](https://docs.microsoft.com/en-us/nuget/reference/package-versioning)\n- [Manage external tools](https://docs.microsoft.com/en-us/visualstudio/ide/managing-external-tools)\n\n### My Blog (in Japanese)\n- [.NET ビルド小技集 (4)](https://sakapon.wordpress.com/2015/10/23/dotnet-build-4/)\n- [ビルドして ZIP にする PowerShell スクリプト](https://sakapon.wordpress.com/2018/02/06/zip-release/)\n- [ビルド用のスクリプトを Visual Studio の外部ツールに登録する](https://sakapon.wordpress.com/2018/08/20/external-tools-build/)\n- [.NET Core 向けビルド スクリプト](https://sakapon.wordpress.com/2018/09/01/build-release-netcore/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakapon%2Fbuild-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsakapon%2Fbuild-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsakapon%2Fbuild-release/lists"}