Fixes an issue with the assembly resolver
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<Copyright>Copyright 2023 Lithnet Pty Ltd</Copyright>
|
||||
<ProductName>Lithnet Windows Credential Provider</ProductName>
|
||||
<VersionPrefix>1.0.0</VersionPrefix>
|
||||
<VersionSuffix>beta.43</VersionSuffix>
|
||||
<VersionSuffix>alpha1</VersionSuffix>
|
||||
<Authors>Lithnet</Authors>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<AutoIncrementPackageRevision>true</AutoIncrementPackageRevision>
|
||||
|
||||
@@ -42,11 +42,10 @@ namespace Lithnet.CredentialProvider.ModuleInit
|
||||
|
||||
string assyPath = Path.Combine(basePath, $"{name.Name}.dll");
|
||||
|
||||
|
||||
if (File.Exists(assyPath))
|
||||
{
|
||||
Trace.WriteLine($"Found at {assyPath}");
|
||||
return Assembly.Load(assyPath);
|
||||
return Assembly.LoadFrom(assyPath);
|
||||
}
|
||||
|
||||
Trace.WriteLine($"Assembly {args.Name} not found");
|
||||
|
||||
Reference in New Issue
Block a user