[英]Visual Studio filenotfound: could not load assembly
我删除了项目中的bin和obj文件夹,并且在重建时突然出现此错误:
Severity Code Description Project File Line Suppression State
Error The "ResolveLibraryProjectImports" task failed unexpectedly.
System.IO.FileNotFoundException: Could not load assembly 'Rubix_solver, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Rubix_solver.dll'
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName)
at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyReso lver res, ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments)
at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecution Host.Execute()
at Microsoft.Build.BackEnd.TaskBuilder. <ExecuteInstantiatedTask>d__26.MoveNext() Rubix_solver.Android
我已经尝试修复此问题大约2个小时了,在互联网上我唯一能找到的是修复系统dll,但是我认为该dll不是来自我的系统,而是由Visual Studio生成的。 谁能帮我解决此错误?
Checkyou参考。 您引用中的某个位置具有此DLL。
如果您无法在引用,CRTL + F中找到它,并对其所有* .cs * .vb文件进行高级搜索并搜索Rubix关键字
希望能帮助到你
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.