Remove '.ni' from module help file name (indicating a Ngen binary)
Fixes #2088
This commit is contained in:
parent
e8190a569b
commit
7ce34224c2
|
@ -6149,7 +6149,8 @@ if($paths) {
|
|||
|
||||
private static string GetHelpFile(string assemblyPath)
|
||||
{
|
||||
return Path.GetFileName(assemblyPath) + StringLiterals.HelpFileExtension;
|
||||
// Help files exist only for original module assemblies, not for generated Ngen binaries
|
||||
return Path.GetFileName(assemblyPath).Replace(".ni.dll", ".dll") + StringLiterals.HelpFileExtension;
|
||||
}
|
||||
|
||||
private static PSTraceSource s_PSSnapInTracer = PSTraceSource.GetTracer("PSSnapInLoadUnload", "Loading and unloading mshsnapins", false);
|
||||
|
|
Loading…
Reference in a new issue