Skip to content

Commit

Permalink
tools: Fix tooling when TFMs differ
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Mar 25, 2024
1 parent ae28cb4 commit 1ee8898
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private bool CompareApi(string oldCommitDirectory, HashSet<string> tags, ApiMeta
Processes.RunDotnet(".", "build", "-nologo", "-clp:NoSummary", "-v", "quiet", "-c", "Release", "-f", oldTfm, oldProjectFile);
Processes.RunDotnet(".", "build", "-nologo", "-clp:NoSummary", "-v", "quiet", "-c", "Release", "-f", newTfm, newProjectFile);
string oldAssemblyFile = Path.Combine(oldCommitDirectory, $"apis/{id}/{id}/bin/Release/{oldTfm}/{id}.dll");
string newAssemblyFile = $"apis/{id}/{id}/bin/Release/{oldTfm}/{id}.dll";
string newAssemblyFile = $"apis/{id}/{id}/bin/Release/{newTfm}/{id}.dll";

// Now compare them
var oldAssembly = Assemblies.LoadFile(oldAssemblyFile);
Expand Down

0 comments on commit 1ee8898

Please sign in to comment.