Skip to content

Commit

Permalink
Merge pull request #19383 from ajpinedam/dev/ajpm/fix.implicitpackage…
Browse files Browse the repository at this point in the history
….override

fix(UnoSDK): implicit package override
  • Loading branch information
jeromelaban authored Feb 18, 2025
2 parents 47e6d08 + 55c4b77 commit 70d9c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Uno.Sdk/Sdk/Sdk.props.buildschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
"type": "nuget-version"
},
"MicrosoftLoggingVersion": {
"description": "Provides an explicit override for the version of Microsoft.Extensions.Logging to use.",
"description": "Provides an explicit override for the version of Microsoft.Extensions.Logging.Console to use.",
"type": "nuget-version"
},
"WinAppSdkVersion": {
Expand Down
3 changes: 2 additions & 1 deletion src/Uno.Sdk/Services/PackageManifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ public PackageManifest UpdateManifest(string groupName, string? version)
if (Manifest.Any(x => x.Group.Equals(groupName, StringComparison.InvariantCultureIgnoreCase)))
{
var group = Manifest.Single(x => x.Group.Equals(groupName, StringComparison.InvariantCultureIgnoreCase));
var updated = group with { Version = version! };
var updated = group with { Version = version!, VersionOverride = null };

Manifest.Remove(group);
Manifest.Add(updated);
}
Expand Down

0 comments on commit 70d9c13

Please sign in to comment.