Skip to content

Exclude Microsoft.Extensions.DependencyInjection.* assemblies from VSIX#7007

Merged
donnie-msft merged 3 commits intodevfrom
dev-donnie-msft-moveVsixInclude
Dec 17, 2025
Merged

Exclude Microsoft.Extensions.DependencyInjection.* assemblies from VSIX#7007
donnie-msft merged 3 commits intodevfrom
dev-donnie-msft-moveVsixInclude

Conversation

@donnie-msft
Copy link
Contributor

@donnie-msft donnie-msft commented Dec 12, 2025

Bug

Fixes: engineering

Description

While building, I was sure I got an error that this assembly was missing from the VSIX. However, after it was pointed out in comment #6982 (comment), I tried excluding these assemblies from the VSIX and had no trouble.

Microsoft.Extensions.DependencyInjection.* assemblies listed in our vsixinclude were part of my VS Installation folder's PublicAssemblies. Therefore, I'm moving the following to the .vsixignore which should reduce our VSIX size:

  • Microsoft.Extensions.DependencyInjection.dll
  • Microsoft.Extensions.DependencyInjection.Abstractions.dll

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@donnie-msft donnie-msft requested a review from a team as a code owner December 12, 2025 17:34
@donnie-msft donnie-msft changed the title Exclude Microsoft.Extensions.DependencyInjection.* assemblies from VSIX Exclude Microsoft.Extensions.* assemblies from VSIX Dec 12, 2025
@donnie-msft donnie-msft changed the title Exclude Microsoft.Extensions.* assemblies from VSIX Reduce NuGet's VSIX size by excluding all Microsoft.Extensions.* assemblies Dec 12, 2025
@donnie-msft donnie-msft changed the title Reduce NuGet's VSIX size by excluding all Microsoft.Extensions.* assemblies Exclude Microsoft.Extensions.DependencyInjection.* assemblies from VSIX Dec 12, 2025
@donnie-msft donnie-msft requested a review from zivkan December 12, 2025 19:02
@donnie-msft donnie-msft enabled auto-merge (squash) December 15, 2025 23:12
@donnie-msft donnie-msft force-pushed the dev-donnie-msft-moveVsixInclude branch from 69edaf7 to 389a223 Compare December 17, 2025 00:23
@donnie-msft donnie-msft merged commit 9b02425 into dev Dec 17, 2025
17 of 18 checks passed
@donnie-msft donnie-msft deleted the dev-donnie-msft-moveVsixInclude branch December 17, 2025 01:16
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.

5 participants