You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, the project is not referenced in the host project. When the host starts, you get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'AuthorizationViewer.Service.Interface, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AuthorizationViewer.Service.Interface, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStack assemblyName, ObjectHandleOnStack requestingAssembly, StackCrawlMarkHandle stackMark, Boolean throwOnFileNotFound, ObjectHandleOnStack assemblyLoadContext, ObjectHandleOnStack retAssembly)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, RuntimeAssembly requestingAssembly, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, AssemblyLoadContext assemblyLoadContext)
at System.Reflection.Assembly.Load(String assemblyString)
at Arc4u.Dependency.ContainerInitializerExtention.GetAssembliesFromConfig(ICollection`1 assemblies, List`1& types) in /_/src/Arc4u.Standard.Dependency/ContainerInitializerExtention.cs:line 44
at Arc4u.Dependency.ContainerInitializerExtention.LoadFromConfig(Dependencies dependencies, IContainer container) in /_/src/Arc4u.Standard.Dependency/ContainerInitializerExtention.cs:line 35
at Arc4u.Dependency.ContainerInitializerExtention.InitializeFromConfig(IContainer container, IConfiguration configuration) in /_/src/Arc4u.Standard.Dependency/ContainerInitializerExtention.cs:line 19
at Program.<Main>$(String[] args) in C:\PRJ\HappyFlow\AuthorizationViewer\BE\Service\AuthorizationViewer.Service.Host\Program.cs:line 179
The interface project should be referenced in the host project.
The text was updated successfully, but these errors were encountered:
If you add an interface project, it is referenced in appsettings.json, just like the facade:
However, the project is not referenced in the host project. When the host starts, you get the following error:
The interface project should be referenced in the host project.
The text was updated successfully, but these errors were encountered: