当我尝试启动容器时,我收到以下错误.这是一个简单的asp.net vnext Web应用程序.我试图在Windows Server 2016中托管这个内部的docker容器.请建议.
System.IO.FileLoadException: Could not load file or assembly 'samplewebapplication' or one of its dependencies. General Exc
eption (Exception from HRESULT: 0x80131500)
File name: 'samplewebapplication' ---> Microsoft.Framework.Runtime.Roslyn.RoslynCompilationException: error CS1703: Multipl
e assemblies with equivalent identity have been imported: '<in-memory assembly>' and '<in-memory assembly>'. Remove one
of the duplicate references.
at Microsoft.Framework.Runtime.Roslyn.RoslynProjectReference.Load(IAssemblyLoadContext loadContext)
at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.Load(AssemblyName assemblyName, IAssemblyLoadContext load
Context)
at Microsoft.Framework.Runtime.Loader.ProjectAssemblyLoader.Load(AssemblyName assemblyName)
at dnx.host.LoaderContainer.Load(AssemblyName assemblyName)
at dnx.host.DefaultLoadContext.LoadAssembly(AssemblyName assemblyName)
at Microsoft.Framework.Runtime.Loader.AssemblyLoaderCache.GetOrAdd(AssemblyName name, Func`2 factory)
at Microsoft.Framework.Runtime.Loader.LoadContext.LoadAssemblyImpl(AssemblyName assemblyName)
at Microsoft.Framework.Runtime.Loader.LoadContext.TryLoadAssembly(LoadContext …Run Code Online (Sandbox Code Playgroud)