{"id":17866208,"url":"https://github.com/xt0rted/dotnet-startup-projects","last_synced_at":"2026-01-20T05:32:45.338Z","repository":{"id":61573423,"uuid":"552662467","full_name":"xt0rted/dotnet-startup-projects","owner":"xt0rted","description":"A dotnet tool to manage multiple Visual Studio startup projects for a solution","archived":false,"fork":false,"pushed_at":"2024-04-29T03:51:54.000Z","size":250,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-01T21:50:02.931Z","etag":null,"topics":["dotnet","dotnet-tool","dotnet-tools","visual-studio"],"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/xt0rted.png","metadata":{"funding":{"github":"xt0rted","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null},"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-10-17T03:03:01.000Z","updated_at":"2024-05-06T04:27:54.907Z","dependencies_parsed_at":"2023-12-16T05:42:22.450Z","dependency_job_id":"41a1cd0c-425a-4c14-8ccf-24da389a77ba","html_url":"https://github.com/xt0rted/dotnet-startup-projects","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xt0rted%2Fdotnet-startup-projects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xt0rted%2Fdotnet-startup-projects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xt0rted%2Fdotnet-startup-projects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xt0rted%2Fdotnet-startup-projects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xt0rted","download_url":"https://codeload.github.com/xt0rted/dotnet-startup-projects/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247744283,"owners_count":20988781,"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":["dotnet","dotnet-tool","dotnet-tools","visual-studio"],"created_at":"2024-10-28T09:29:07.130Z","updated_at":"2026-01-20T05:32:45.311Z","avatar_url":"https://github.com/xt0rted.png","language":"C#","funding_links":["https://github.com/sponsors/xt0rted"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"assets/icon.svg\" align=\"left\" height=\"45\"\u003e dotnet-startup-projects\n\n[![CI build status](https://github.com/xt0rted/dotnet-startup-projects/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/xt0rted/dotnet-startup-projects/actions/workflows/ci.yml)\n[![NuGet Package](https://img.shields.io/nuget/v/startup-projects?logo=nuget)](https://www.nuget.org/packages/startup-projects)\n[![GitHub Package Registry](https://img.shields.io/badge/github-package_registry-yellow?logo=nuget)](https://nuget.pkg.github.com/xt0rted/index.json)\n[![Project license](https://img.shields.io/github/license/xt0rted/dotnet-startup-projects)](LICENSE)\n\nA `dotnet` tool to manage multiple Visual Studio startup projects for a solution.\n\n## Installation\n\nThis tool can be installed globally:\n\n```console\ndotnet tool install startup-projects --global\n```\n\nOr locally:\n\n```console\ndotnet new tool-manifest\ndotnet tool install startup-projects\n```\n\nOnly projects with a `\u003cIsDefaultMultiStartupProject\u003e` property set to `true` will be included in the multiple startup configuration.\nSince this tool doesn't use MSBuild to load the project files the property can not be set in `Directory.Build.props`, it must be in the project file itself.\n\nRunning this will either create a new `.suo` file for the solution, or overwrite the existing one.\nThis means any settings saved in your existing `.suo` file will be lost.\nYou will be prompted to confirm this before the file is overwritten.\n\n## Options\n\nName | Description\n-- | --\n`--version` | Show version information\n`--help` | Show help and usage information\n\n## Arguments\n\nName | Description\n-- | --\n`\u003csolution\u003e` | The path to the solution file to use (defaults to the current working directory)\n\n## Commands\n\n### `list`\n\nList the startup projects for the current solution.\n\n#### Options\n\nThis command has no options.\n\n### `set`\n\nSet the startup projects for the current solution.\n\n#### Options\n\nName | Description\n-- | --\n`-y`, `--yes` | Automatically answer `yes` to any prompts\n`-v`, `--vs` | Visual Studio versions to target (defaults to `2022`)\n\n\u003e **Note**: The supported Visual Studio versions are `2019` and `2022`\n\n## Usage\n\nList all projects configured to be startup projects:\n\n```console\ndotnet startup-projects list\n```\n\nSet the startup projects for the current solution:\n\n```console\ndotnet startup-projects set -v 2019 -y\n```\n\nIt may be helpful to add a script for this to your `global.json` to make it easier to run:\n\n```json\n{\n  \"scripts\": {\n    \"startup\": \"dotnet startup-projects --vs 2022 --yes\"\n  }\n}\n```\n\n\u003e **Note**: This requires [`run-script`](https://github.com/xt0rted/dotnet-run-script) to be used in the project.\n\n### Color output\n\nThis tool supports the `DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION` environment variable.\nSetting this to `1` or `true` will force color output on all platforms.\nDue to a limitation of the `Console` apis this will not work on Windows when output is redirected.\n\nThere is also support for the `NO_COLOR` environment variable.\nSetting this to any value will disable color output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxt0rted%2Fdotnet-startup-projects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxt0rted%2Fdotnet-startup-projects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxt0rted%2Fdotnet-startup-projects/lists"}