Skip to content

Commit d7883a0

Browse files
committed
Fixed assembly binding redirection
Fixed extension identity internal name
1 parent 0044276 commit d7883a0

4 files changed

Lines changed: 16 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## v1.0.1103.27 (November 3<sup>rd</sup>, 2024)
4+
- Fixed assembly binding redirection error which may occur when loading the extension
5+
36
## v1.0.1102.24 (November 2<sup>nd</sup>, 2024)
47
- Fixed [#2](https://github.com/icnocop/PackageReferenceVersionToAttribute/issues/2) - Added support for converting all projects in a solution, and converting multiple selected projects.
58
- Fixed [#1](https://github.com/icnocop/PackageReferenceVersionToAttribute/issues/1) - Preserved the XML declaration if it exists.

src/PackageReferenceVersionToAttributeExtension/PackageReferenceVersionToAttributeExtension.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
<Compile Include="Commands\MultipleProjectNodesCommand.cs" />
5252
<Compile Include="Commands\SolutionNodeCommand.cs" />
5353
<Compile Include="Logging\CustomLoggerProvider.cs" />
54+
<Compile Include="Properties\AssemblyBindingRedirects.cs" />
5455
<Compile Include="Properties\AssemblyInfo.cs" />
5556
<Compile Include="Commands\ProjectNodeCommand.cs" />
5657
<Compile Include="Package.cs" />
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// <copyright file="AssemblyBindingRedirects.cs" company="Rami Abughazaleh">
2+
// Copyright (c) Rami Abughazaleh. All rights reserved.
3+
// </copyright>
4+
5+
using Microsoft.VisualStudio.Shell;
6+
7+
[assembly: ProvideBindingRedirection(
8+
AssemblyName = "Microsoft.Extensions.DependencyInjection",
9+
OldVersionLowerBound = "0.0.0.0",
10+
OldVersionUpperBound = "8.0.0.0",
11+
NewVersion = "8.0.0.0")]

src/PackageReferenceVersionToAttributeExtension/publishManifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"coding"
66
],
77
"identity": {
8-
"internalName": "PackageReferenceVersionToAttribute"
8+
"internalName": "PackageReferenceVersionToAttributeExtension"
99
},
1010
"assetFiles": [
1111
{

0 commit comments

Comments
 (0)