{"id":16473110,"url":"https://github.com/binki/msbuildvisualstudio15_8_3regression","last_synced_at":"2026-06-14T10:33:58.049Z","repository":{"id":143134234,"uuid":"147766407","full_name":"binki/MsBuildVisualStudio15_8_3Regression","owner":"binki","description":"Demo of visualstudio-15.8.3 GUI build ItemDefinitionGroup regression","archived":false,"fork":false,"pushed_at":"2018-09-07T03:37:15.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T12:40:34.523Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/binki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-09-07T03:36:55.000Z","updated_at":"2018-09-07T03:37:17.000Z","dependencies_parsed_at":"2023-04-10T08:32:37.941Z","dependency_job_id":null,"html_url":"https://github.com/binki/MsBuildVisualStudio15_8_3Regression","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binki/MsBuildVisualStudio15_8_3Regression","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FMsBuildVisualStudio15_8_3Regression","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FMsBuildVisualStudio15_8_3Regression/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FMsBuildVisualStudio15_8_3Regression/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FMsBuildVisualStudio15_8_3Regression/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binki","download_url":"https://codeload.github.com/binki/MsBuildVisualStudio15_8_3Regression/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binki%2FMsBuildVisualStudio15_8_3Regression/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34318523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T12:25:22.083Z","updated_at":"2026-06-14T10:33:58.032Z","avatar_url":"https://github.com/binki.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository demonstrates a regression in Visual Studio 15.8.3.\n\n# Issue\n\nStarting in Visual Studio 15.8.3, references to item metadata in `\u003cItemDefinitionGroup/\u003e` are not expanded when building with the Visual Studio GUI (CLI is unaffected).\nFor example, if you had something like the following, future expansion of `%(MyItem.MyDefinedMetadata)` would yield `%(Identity)` instead of the expanded value of the `Identity` metadata:\n\n```xml\n\u003cItemDefinitionGroup\u003e\n  \u003cMyItem\u003e\n    \u003cMyDefinedMetadata\u003e%(Identity)\u003c/MyDefinedMetadata\u003e\n  \u003c/Myitem\u003e\n\u003c/ItemDefinitionGroup\u003e\n```\n\nIf you were to build this with Visual Studio 15.7.6, 15.8.2, or by running `MSBuild\\15.0\\Bin\\amd64\\MSBuild.exe` from Visual Studio 15.8.3’s installation folder, then the value is properly expanded.\n\n# Demo\n\nThis project defines [items](Directory.Build.props) and [targets](Directory.Build.targets) which are construed to successfully build on unaffected versions of Visual Studio and fail to build on affected versions of Visual Studio.\nThe targets copy all `**/*.cs` files to the output directory.\nWhen calling the `\u003cCopy/\u003e` Task, the `SourceFiles` parameter is set to metadata which is defined using `\u003cItemDefinitionGroup/\u003e`.\nThe result is that affected versions of Visual Studio attempt to copy files named `%(RelativeDir)%(Filename)%(Extension)` to the destination.\nSince I have not included any files by that name in this project, the copy fails.\nHowever, on unaffected versions of Visual Studio, the expansion occurs correctly and the copy succeeds.\n\nThis demo is based on actual undisclosed code I use.\nI would expect any project relying on `\u003cItemDefinitionGroup/\u003e` to either be uncompilable or have subtly incorrect behavior when compiled using the GUI of an affected version of Visual Studio.\nIn the case of my undisclosed code, the result is a build failure prior to compilation happening.\n\n# Repro Steps\n\n1. Install Visual Studio 15.8.3 with C# project support.\n2. Open the solution in Visual Studio.\n3. Use the GUI to build the project (e.g., Build→Build Solution). You will experience a build error.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fmsbuildvisualstudio15_8_3regression","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinki%2Fmsbuildvisualstudio15_8_3regression","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinki%2Fmsbuildvisualstudio15_8_3regression/lists"}