问题描述
关于Vs2015社区版和vs2010的项目转换--vs2015打开后,到10就打不开视图设计器了。求解!错误26“ResolveComReference”任务意外失败。System.IO.FileNotFoundException:未能加载文件或程序集“Microsoft.Build.Tasks.Core”或它的某一个依赖项。系统找不到指定的文件。文件名:“Microsoft.Build.Tasks.Core”在System.Reflection.RuntimeAssembly._nLoad(AssemblyNamefileName,StringcodeBase,EvidenceassemblySecurity,RuntimeAssemblylocationHint,StackCrawlMark&stackMark,BooleanthrowOnFileNotFound,BooleanforIntrospection,BooleansuppressSecurityChecks)在System.Reflection.RuntimeAssembly.nLoad(AssemblyNamefileName,StringcodeBase,EvidenceassemblySecurity,RuntimeAssemblylocationHint,StackCrawlMark&stackMark,BooleanthrowOnFileNotFound,BooleanforIntrospection,BooleansuppressSecurityChecks)在System.Reflection.RuntimeAssembly.LoadWithPartialNameInternal(AssemblyNamean,EvidencesecurityEvidence,StackCrawlMark&stackMark)在Microsoft.Build.Tasks.NativeMethods.QueryPathOfRegTypeLib(Guid&clsid,Int16majorVersion,Int16minorVersion,Int32lcid)在Microsoft.Build.Tasks.ComReference.GetPathOfTypeLib(TaskLoggingHelperlog,TYPELIBATTR&typeLibAttr,String&typeLibPath)在Microsoft.Build.Tasks.ResolveComReference.ConvertAttrReferencesToComReferenceInfo(List`1projectRefs,ITaskItem[]typeLibAttrs)在Microsoft.Build.Tasks.ResolveComReference.Execute()在Microsoft.Build.Framework.ITask.Execute()在Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()在Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHosttaskExecutionHost,TaskLoggingContexttaskLoggingContext,TaskHosttaskHost,ItemBucketbucket,TaskExecutionModehowToExecuteTask,Boolean&taskResult)警告:程序集绑定日志记录被关闭。要启用程序集绑定失败日志记录,请将注册表值[HKLMSoftwareMicrosoftFusion!EnableLog](DWORD)设置为1。注意:会有一些与程序集绑定失败日志记录关联的性能损失。要关闭此功能,请移除注册表值[HKLMSoftwareMicrosoftFusion!EnableLog]。
解决方案
解决方案二:
http://blog.xieyc.com/vs2005-2012-solution-and-project-convertion/你看看,改个版本,再重新编译一下