Skip to content

Remove MSBuild assemblies from the GAC at VSIX install time. #5183

@rainersigwald

Description

@rainersigwald

Customers repeatedly hit problems caused by having stale MSBuild assemblies in their Global Assembly Cache.

For example,

We have long considered finding a way to ensure that MSBuild is not in the GAC when the package is updated, perhaps by running

gacutil /u "Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
gacutil /u "Microsoft.Build.Task.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
gacutil /u "Microsoft.Build.Conversion.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
gacutil /u "Microsoft.Build.Engine, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
gacutil /u "Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"

in a related VS installer package.

Metadata

Metadata

Assignees

Labels

Visual StudioIssues relevant to Visual Studio scenariostriaged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions