Skip to content

Commit

Permalink
Fix the net7.0 build
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronwhite committed Dec 23, 2023
1 parent 31e8709 commit b691708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/addins/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ static void LocalizeManifest (FileInfo manifestFile, FileInfo[] resourceFiles)
manifestDoc.Load (manifestFile.FullName);

// The properties to translate.
string[] headerProperties = ["Name", "Description"];
string[] headerProperties = new[] { "Name", "Description" };
var headerPropertyNodes = headerProperties.Select (propertyName =>
manifestDoc.SelectSingleNode ($"/Addin/Header/{propertyName}") ??
throw new InvalidDataException ($"Add-in manifest does not specify header property '{propertyName}'"));
Expand Down

0 comments on commit b691708

Please sign in to comment.