{"id":16374454,"url":"https://github.com/azz/vscode-csproj","last_synced_at":"2025-03-23T03:32:38.410Z","repository":{"id":66082026,"uuid":"71685097","full_name":"azz/vscode-csproj","owner":"azz","description":":closed_book: Visual Studio Code extension to keep your csproj files up to date.","archived":false,"fork":false,"pushed_at":"2018-05-27T09:40:20.000Z","size":1037,"stargazers_count":21,"open_issues_count":13,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T17:07:49.827Z","etag":null,"topics":["csproj","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=lucasazzola.vscode-csproj","language":"TypeScript","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/azz.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":"2016-10-23T06:06:07.000Z","updated_at":"2022-09-25T08:30:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"25e585ef-507a-490e-94b6-341d0460e2e7","html_url":"https://github.com/azz/vscode-csproj","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fvscode-csproj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fvscode-csproj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fvscode-csproj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azz%2Fvscode-csproj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azz","download_url":"https://codeload.github.com/azz/vscode-csproj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052619,"owners_count":20553161,"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":["csproj","vscode","vscode-extension"],"created_at":"2024-10-11T03:17:18.262Z","updated_at":"2025-03-23T03:32:38.401Z","avatar_url":"https://github.com/azz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VS Code `.csproj` Extension\n\nThis extension will helps you keep your csproj files in sync when using VS Code.\nThis is useful if you work in a team that uses both VS Code and Visual Studio.\n\n## Demo\n\n### Adding Files to a Project\n\n![DemoGif](img/demo.gif \"Demonstration\")\n\n### Removing Files from a Project\n\n| **Single File Deletion**  | **Multiple File Deletion**\n|---------------------------|--------------------------------\n| ![Single deletion example](img/demo-single-delete.gif) | ![Multiple deletion example](img/demo-multi-delete.gif)\n\n## How it Works\n\nWhen you switch to or save a file not in the nearest `.csproj` up the file system tree, you will prompted.\n\n![Prompt](img/demo-prompt.png \"Prompt\")\n\nChoosing \"Close\" will add an item to the status bar and stop asking you while you have the file open.\n\n| **File Not in csproj** | **File Contained in csproj**\n|------------------------|------------------------------\n| ![Add to csproj](img/demo-status-bar.png) | ![Contained in csproj](img/demo-status-bar-contained.png)\n\nYou can add a file to csproj via the command palette:\n\n![Command Palette](img/demo-command.png \"Command Palette\")\n\nOr via the context menu in the file explorer:\n\n![Context Menu](img/demo-context-menu.png \"Context Menu\")\n\n## Extension Settings\n\nThis extension contributes the following settings:\n\n| **Setting Key**         | **Description**\n|-------------------------|-----------------\n| `csproj.enable`         | Enable/disable this extension.\n| `csproj.itemType`       | Mapping from file extension to csproj XML element. Defaults to: \u003cbr/\u003e `{ \"*\": \"Content\", \".ts\": \"TypeScriptCompile\" }`\n| `csproj.silentDeletion` | Silently delete items from csproj when their corresponding files are removed. Default: `false`.\n| `csproj.includeRegex`   | Regular expression to match files you want to add to csproj.\n| `csproj.excludeRegex`   | Regular expression to exclude files you do not want to add to csproj.\n\n\nThese regular expressions will prevent unwanted prompts. If a file matches `includeRegex` *and* `excludeRegex`, it will be excluded.\n\nThe regular expressions will prevent this extension from prompting for action, but it intentionally will not\nprevent you from adding via the command palette or a context menu. _However_, if you click \"Include in Project\" on\na directory, `files.exclude`, your saved ignore list, `csproj.includeRegex` and `csproj.excludeRegex` will be honored.\n\n## Links\n\n* [GitHub Repository](https://github.com/DerFlatulator/vscode-csproj)\n* [Marketplace Entry](https://marketplace.visualstudio.com/items?itemName=lucasazzola.vscode-csproj)\n\n## Release Notes\n\n### Most Recent Release (0.7.0)\n\nFeatures:\n\n* Set `.cs` files to `Compile` by default ([#10](https://github.com/DerFlatulator/vscode-csproj/issues/10)).\n\n### See GitHub for [full release history](https://github.com/DerFlatulator/vscode-csproj/releases)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazz%2Fvscode-csproj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazz%2Fvscode-csproj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazz%2Fvscode-csproj/lists"}