Skip to content

Commit

Permalink
Fix binary signing path
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Jun 14, 2024
1 parent dd2dc8b commit 9e77137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/builder/targets/SignAssemblies.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public static Task OnExecute(BuildContext context)
// Note that any changes to .nuspec files means this list needs to be updated
var binaries =
new[] {
Path.Combine(context.BaseFolder, "src", "xunit.runner.visualstudio", "bin", context.ConfigurationText, "net472", "xunit.runner.visualstudio.testadapter.dll"),
Path.Combine(context.BaseFolder, "src", "xunit.runner.visualstudio", "bin", context.ConfigurationText, "net6.0", "xunit.runner.visualstudio.testadapter.dll"),
Path.Combine(context.BaseFolder, "src", "xunit.runner.visualstudio", "bin", context.ConfigurationText, "net472", "merged", "xunit.runner.visualstudio.testadapter.dll"),
Path.Combine(context.BaseFolder, "src", "xunit.runner.visualstudio", "bin", context.ConfigurationText, "net6.0", "merged", "xunit.runner.visualstudio.testadapter.dll"),
}.Select(unsignedPath =>
{
var unsignedFolder = Path.GetDirectoryName(unsignedPath) ?? throw new InvalidOperationException($"Path '{unsignedPath}' did not have a folder");
Expand Down

0 comments on commit 9e77137

Please sign in to comment.