Skip to content

Commit

Permalink
Merge pull request #2698 from kant2002/patch-1
Browse files Browse the repository at this point in the history
Allow decompile C++/CLI assemblies
  • Loading branch information
dgrunwald authored Jun 2, 2022
2 parents 540abf8 + a2e9a2f commit 93d97ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static TargetFramework DetectTargetFramework(PEFile module)

if (frameworkVersion != null)
{
versionNumber = int.Parse(frameworkVersion.Substring(VersionToken.Length + 1).Replace(".", ""));
versionNumber = int.Parse(frameworkVersion.Substring(VersionToken.Length).Replace("v", "").Replace(".", ""));
if (versionNumber < 100)
versionNumber *= 10;
}
Expand Down

0 comments on commit 93d97ab

Please sign in to comment.