Skip to content

Comments

Remove stale copy of S.ComponentModel.Composition from testplatform packages#15287

Merged
nohwnd merged 3 commits intomainfrom
SCompositionComponentModelRemoval
Oct 6, 2025
Merged

Remove stale copy of S.ComponentModel.Composition from testplatform packages#15287
nohwnd merged 3 commits intomainfrom
SCompositionComponentModelRemoval

Conversation

@ViktorHofer
Copy link
Member

S.ComponentModel.Composition is no longer used in testplatform packages, so we can remove the stale copy of it. The assembly that was redistributed targets netstandard2.0 and is a PNSE - throws PlatformNotSupportedException. This proves that the assembly never got loaded and is indeed unused in all cases.

This resolves having this stale copy in the SDK layout under i.e. "C:\Program Files\dotnet\sdk\10.0.100-rc.1.25451.107\System.ComponentModel.Composition.dll" which showed up as a difference in dotnet/source-build#5344

…ackages


S.ComponentModel.Composition is no longer used in testplatform packages, so we can remove the stale copy of it. The assembly that was redistributed targets netstandard2.0 and is a PNSE - throws PlatformNotSupportedException. This proves that the assembly never got loaded and is indeed unused in all cases.

This resolves having this stale copy in the SDK layout under i.e. "C:\Program Files\dotnet\sdk\10.0.100-rc.1.25451.107\System.ComponentModel.Composition.dll"
@ViktorHofer ViktorHofer requested a review from nohwnd October 1, 2025 18:59
@ericstj
Copy link
Member

ericstj commented Oct 1, 2025

Might need to update

"Microsoft.TestPlatform" = 538

"Microsoft.TestPlatform.CLI" = 481

@ViktorHofer
Copy link
Member Author

gentle ping @nohwnd

@nohwnd nohwnd merged commit 51891d6 into main Oct 6, 2025
6 checks passed
@nohwnd nohwnd deleted the SCompositionComponentModelRemoval branch October 6, 2025 08:40
intellitect-bot pushed a commit to IntelliTect/EssentialCSharp.Web that referenced this pull request Feb 24, 2026
Updated [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest)
from 18.0.1 to 18.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.NET.Test.Sdk's
releases](https://github.com/microsoft/vstest/releases)._

## 18.3.0

## What's Changed

* Fix answer file splitting by @​nohwnd in
microsoft/vstest#15306

## Internal fixes and updates

* Bump branding to 18.1 by @​nohwnd in
microsoft/vstest#15286
* Remove stale copy of S.ComponentModel.Composition from testplatform
packages by @​ViktorHofer in
microsoft/vstest#15287
* Update codeflow metadata to fix backflow by @​premun in
microsoft/vstest#15291
* [main] Update dependencies from devdiv/DevDiv/vs-code-coverage by
@​dotnet-maestro[bot] in microsoft/vstest#15283
* Update Microsoft.Build.Utilities.Core by @​Youssef1313 in
microsoft/vstest#15300
* Disable DynamicNative instrumentation by default by @​nohwnd in
microsoft/vstest#15299
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in microsoft/vstest#15293
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in microsoft/vstest#15302
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in microsoft/vstest#15314
* Delete sha1 custom implementation we are not using for a long time by
@​nohwnd in microsoft/vstest#15313
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in microsoft/vstest#15315
* Update branding to 18.3.0 by @​nohwnd in
microsoft/vstest#15321
* [main] Update dependencies from devdiv/DevDiv/vs-code-coverage by
@​dotnet-maestro[bot] in microsoft/vstest#15325
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in microsoft/vstest#15264
* Revert adding dotnet_host_path workaround by @​nohwnd in
microsoft/vstest#15328
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in microsoft/vstest#15338
* [main] Source code updates from dotnet/dotnet by @​dotnet-maestro[bot]
in microsoft/vstest#15322
* [main] Update dependencies from dotnet/arcade by @​dotnet-maestro[bot]
in microsoft/vstest#15343
* Change PreReleaseVersionLabel from 'preview' to 'release' by @​nohwnd
in microsoft/vstest#15352
* [rel/18.3] Update dependencies from devdiv/DevDiv/vs-code-coverage by
@​dotnet-maestro[bot] in microsoft/vstest#15354
* [rel/18.3] Update dependencies from dotnet/arcade by
@​dotnet-maestro[bot] in microsoft/vstest#15389
* [rel/18.3] Update dependencies from dotnet/arcade by
@​dotnet-maestro[bot] in microsoft/vstest#15400
* Update build tools to 17.11.48 to be source buildable by @​nohwnd in
microsoft/vstest#15310
* Disable publishing on RTM by @​nohwnd in
microsoft/vstest#15296
* Don't access nuget.org for package feeds by @​nohwnd in
microsoft/vstest#15316
* No nuget access fix tests by @​nohwnd in
microsoft/vstest#15317
* Disable Dependabot updates in dependabot.yml by @​mmitche in
microsoft/vstest#15324

## New Contributors
* @​premun made their first contribution in
microsoft/vstest#15291

Commits viewable in [compare
view](microsoft/vstest@v18.0.1...v18.3.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.NET.Test.Sdk&package-manager=nuget&previous-version=18.0.1&new-version=18.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants