Autofac: fix
This commit is contained in:
parent
baa71247d8
commit
47e597d3b0
@ -34,7 +34,7 @@ namespace ASC.Common.DependencyInjection
|
|||||||
|
|
||||||
if (!Path.IsPathRooted(folder))
|
if (!Path.IsPathRooted(folder))
|
||||||
{
|
{
|
||||||
if (currentDir.EndsWith(Path.Combine(Path.GetFileName(folder), Assembly.GetCallingAssembly().GetName().Name, subfolder)))
|
if (currentDir.EndsWith(Path.Combine(Path.GetFileName(folder), Assembly.GetEntryAssembly().GetName().Name, subfolder)))
|
||||||
{
|
{
|
||||||
productsDir = Path.GetFullPath(Path.Combine("..", ".."));
|
productsDir = Path.GetFullPath(Path.Combine("..", ".."));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user