{"id":20801929,"url":"https://github.com/philips-software/update-cs-project","last_synced_at":"2026-04-26T07:33:25.462Z","repository":{"id":96542429,"uuid":"552999739","full_name":"philips-software/update-cs-project","owner":"philips-software","description":"Tool supporting batch updates to C# project files, in particular for adding/updating Analyzers","archived":false,"fork":false,"pushed_at":"2022-12-08T10:58:31.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-18T12:34:25.623Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/philips-software.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-17T14:56:04.000Z","updated_at":"2022-12-15T00:53:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffbad622-4259-47bd-ab82-e586a810232b","html_url":"https://github.com/philips-software/update-cs-project","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/philips-software%2Fupdate-cs-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fupdate-cs-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fupdate-cs-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fupdate-cs-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips-software","download_url":"https://codeload.github.com/philips-software/update-cs-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243147272,"owners_count":20243745,"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":[],"created_at":"2024-11-17T18:26:11.985Z","updated_at":"2025-12-25T08:30:13.622Z","avatar_url":"https://github.com/philips-software.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update CS Project\n\nWelcome to the Update CS Project repository.\n\n## Overview\n\nUpdate CS Project allows batch updates to C# project files.   \nThere are a few main use cases, that all work in batch mode so you can update 100s of project files in one go\n1. Adding a code analyzer, that performs static code analysis checks on a project\n2. Updating a code analyzer to the latest version\n3. Generating a GlobalSuppressions file. This may be required after introducing or updating an analyzer, since that may lead to 100s or 1000s of violations that break the build and cannot be addressed immediately.\n\nUsing this tool ensures consistency in enterprise archives, without the need for active checking / gating.\n## State\n\nThis repository is under Active development and used to maintain an enterprise archive with over 250 csproj files.\n\n## Usage\n\n### Example (WIP)\n* Ensure this project is built (see below)\n* Ensure your projects are fully built\n* Add the FxCop analyzers with the command \n```UpdateCsProject.exe . --addanalyzer Microsoft.CodeAnalysis.NetAnalyzers 6.0.0```\n* Please build your projects. Most likely it will fail to compile, because the analyzers flag issues\n* Add the GlobalSuppressions with the command\n```UpdateCsProject.exe . --suppress```\n\n### Command line options\nUpdate CS Project provides a extensible mechanism, which can be configured with the following command line options:\n\n| Command switch                 | Description                                                                    |\n|--------------------------------|--------------------------------------------------------------------------------|\n| --addanalyzer                  | Add a given analyzer to the references                                         |\n| --suppress                     | Suppress all existing Code Analyzer errors in the GlobalSuppressions.cs file.  |\n| --updateinvalidsuppressionpath | Delete or moves the GlobalSuppressions file from Properties folder to the root.|\n| --removeproperty               | Remove the specified property.                                                 |\n\n## How to Build\n* Ensure you have a recent version of Visual Studio\n* `dotnet build Source\\UpdateCSProject.sln`\n* The path to the executable is: 'Source\\UpdateCSProject\\bin\\debug\\net472\\UpdateCsProject.exe'\n\n## Support\n\nThis project is maintained by (in alphabetical order):\n- [Akshat Agrawal](mailto:akshat.agrawal@philips.com)\n- [Mark Venbrux](mailto:mark.venbrux@philips.com)\n- [Kiran Ramaiah](mailto:kiran.ramaiah@philips.com)\n- [Jan Zwanenburg](mailto:jan.zwanenburg@philips.com)\n- [Paul de Feyter](mailto:paul.de.feyter@philips.com)\n- [Vishal Srivastava](mailto:vishal.srivastava@philips.com)\n- [Ynse Hoornenborg](mailto:ynse.hoornenborg@philips.com)\n\n## Community\n\nThis project uses the [CODE_OF_CONDUCT](./CODE_OF_CONDUCT.md) to define expected conduct in our community. Instances of\nabusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project [CODEOWNER](./.github/CODEOWNERS)\n\n## Contributing\n\nSee [CONTRIBUTING](./CONTRIBUTING.md)\n\n## Licenses\n\nSee [LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Fupdate-cs-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips-software%2Fupdate-cs-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Fupdate-cs-project/lists"}