Microsoft Visual Studio 2010 Tools for Office Runtime(x64) Package failed

本文提供了解决Visual Studio 2013安装过程中遇到Microsoft Visual Studio 2010 Tools for Office Runtime (x64)安装失败问题的方法,包括断网、关闭杀毒软件、修复安装等步骤,并介绍了如何解决新建项目闪退的问题。

Visual Studio 2013安装过程中出现错误Microsoft Visual Studio 2010 Tools for Office Runtime(x64) Package failed
I、VS2013安装失败
初步解决办法:
1、断网+关闭杀毒软件 -> 控制面板-> VS2013 -> repair
2、repair完毕之后,重启电脑。
3、以管理员身份运行VS2013
尝试是否还有其他问题。
如果还有问题,比如新建项目闪退,再次重复1,2,3步骤。

笔者在第二次repair之后出现问题II:
II、Microsoft Visual Studio 2010 Tools for Office Runtime(x64) Package failed
解决办法:
1、重启电脑
2、到官网下载 Microsoft Visual Studio 2010 Tools for Office Runtime
3、安装Microsoft Visual Studio 2010 Tools for Office Runtime
直接运行下载下来的 vstor_redist.exe ,系统会自动安装到C盘对应位置。
4、重启电脑
5、以管理员身份运行VS2013
6、问题得到解决。不再闪退。可以正常敲代码了。

PS D:\EpicGames\UE_5.4\Engine\Build\BatchFiles> .\RunUAT.bat BuildPlugin -plugin="D:\LYF_File\LED\TuioUnrealPlugin-main\TUIO.uplugin" -package="D:\LYF_File\LED\Build" -TargetPlatforms=Win64 Running AutomationTool... Using bundled DotNet SDK version: 6.0.302 Starting AutomationTool... Parsing command line: BuildPlugin -plugin=D:\LYF_File\LED\TuioUnrealPlugin-main\TUIO.uplugin -package=D:\LYF_File\LED\Build -TargetPlatforms=Win64 Initializing script modules... Total script module initialization time: 0.14 s. Using C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe Executing commands... Copying 211 file(s) using max 64 thread(s) Reading plugin from D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\TUIO.uplugin... Building plugin for host platforms: Win64 Running: D:\EpicGames\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\EpicGames\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -Project="D:\LYF_File\LED\Build\HostProject\HostProject.uproject" -plugin="D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\TUIO.uplugin" -noubtmakefiles -manifest="D:\LYF_File\LED\Build\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml" -nohotreload -log="C:\Users\renzi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EpicGames+UE_5.4\UBA-UnrealEditor-Win64-Development.txt" Log file: C:\Users\renzi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EpicGames+UE_5.4\UBA-UnrealEditor-Win64-Development.txt Available x64 toolchains (2): * C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) Unavailable x64 toolchains (2): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=5, Version=14.29.30159, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.16.27023 (Family=14.16.27023, FamilyRank=5, Version=14.16.27054, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") Visual Studio 2022 compiler version 14.44.35214 is not a preferred version. Please use the latest preferred version 14.38.33130 Available x64 toolchains (2): * C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) Unavailable x64 toolchains (2): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=5, Version=14.29.30159, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.16.27023 (Family=14.16.27023, FamilyRank=5, Version=14.16.27054, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") Visual Studio 2022 compiler version 14.44.35214 is not a preferred version. Please use the latest preferred version 14.38.33130 Parsing headers for UnrealEditor Running Internal UnrealHeaderTool D:\LYF_File\LED\Build\HostProject\HostProject.uproject D:\LYF_File\LED\Build\HostProject\Intermediate\Build\Win64\UnrealEditor\Development\UnrealEditor.uhtmanifest -WarningsAsErrors -installed Total of 6 written Reflection code generated for UnrealEditor in 2.312138 seconds Writing manifest to D:\LYF_File\LED\Build\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml Building UnrealEditor... Using Visual Studio 2022 14.44.35214 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207) and Windows 10.0.26100.0 SDK (C:\Program Files (x86)\Windows Kits\10). Warning: Visual Studio 2022 compiler is not a preferred version [Adaptive Build] Excluded from TUIO unity file: TUIO.cpp, TuioContainerStruct.cpp, TuioReceiverComponent.cpp Determining max actions to execute in parallel (16 physical cores, 24 logical cores) Executing up to 16 processes, one per physical core Requested 1.5 GB memory per action, 14.26 GB available: limiting max parallel actions to 9 Using Parallel executor to run 9 action(s) ------ Building 9 action(s) started ------ [1/9] Resource Default.rc2 [2/9] Compile [x64] SharedPCH.UnrealEd.Cpp20.cpp D:\EpicGames\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\SkeletalMesh.h(930): warning C4996: 'FBoneMirrorInfo': FBoneMirrorInfo is deprecated. Please use UMirrorDataTable for mirroring support. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile. [3/9] Compile [x64] Module.TUIO.cpp [4/9] Compile [x64] TuioReceiverComponent.cpp [5/9] Compile [x64] TuioContainerStruct.cpp [6/9] Compile [x64] TUIO.cpp [7/9] Link [x64] UnrealEditor-TUIO.lib 正在创建库 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Intermediate\Build\Win64\x64\UnrealEditor\Development\TUIO\UnrealEditor-TUIO.lib 和对象 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Intermediate\Build\Win64\x64\UnrealEditor\Development\TUIO\UnrealEditor-TUIO.exp [8/9] Link [x64] UnrealEditor-TUIO.dll 正在创建库 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Intermediate\Build\Win64\x64\UnrealEditor\Development\TUIO\UnrealEditor-TUIO.sup.lib 和对象 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Intermediate\Build\Win64\x64\UnrealEditor\Development\TUIO\UnrealEditor-TUIO.sup.exp [9/9] WriteMetadata UnrealEditor.target Total time in Parallel executor: 55.54 seconds Total execution time: 62.04 seconds Took 62.11s to run dotnet.exe, ExitCode=0 Building plugin for target platforms: Win64 Running: D:\EpicGames\UE_5.4\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "D:\EpicGames\UE_5.4\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealGame Win64 Development -Project="D:\LYF_File\LED\Build\HostProject\HostProject.uproject" -plugin="D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\TUIO.uplugin" -noubtmakefiles -manifest="D:\LYF_File\LED\Build\HostProject\Saved\Manifest-UnrealGame-Win64-Development.xml" -nohotreload -log="C:\Users\renzi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EpicGames+UE_5.4\UBA-UnrealGame-Win64-Development.txt" Log file: C:\Users\renzi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EpicGames+UE_5.4\UBA-UnrealGame-Win64-Development.txt Available x64 toolchains (2): * C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) Unavailable x64 toolchains (2): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=5, Version=14.29.30159, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.16.27023 (Family=14.16.27023, FamilyRank=5, Version=14.16.27054, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") Visual Studio 2022 compiler version 14.44.35214 is not a preferred version. Please use the latest preferred version 14.38.33130 Available x64 toolchains (2): * C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207 (Family=14.44.35207, FamilyRank=5, Version=14.44.35214, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64) Unavailable x64 toolchains (2): * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.29.30133 (Family=14.29.30133, FamilyRank=5, Version=14.29.30159, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") * C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.16.27023 (Family=14.16.27023, FamilyRank=5, Version=14.16.27054, Is64Bit=True, ReleaseChannel=Latest, Architecture=x64, Error="UnrealBuildTool requires at minimum the MSVC 14.34.31933 toolchain. Please install a later toolchain such as 14.38.33130 from the Visual Studio installer.") Visual Studio 2022 compiler version 14.44.35214 is not a preferred version. Please use the latest preferred version 14.38.33130 Parsing headers for UnrealGame Running Internal UnrealHeaderTool D:\LYF_File\LED\Build\HostProject\HostProject.uproject D:\LYF_File\LED\Build\HostProject\Intermediate\Build\Win64\UnrealGame\Development\UnrealGame.uhtmanifest -WarningsAsErrors -installed Total of 6 written Reflection code generated for UnrealGame in 0.6357883 seconds Writing manifest to D:\LYF_File\LED\Build\HostProject\Saved\Manifest-UnrealGame-Win64-Development.xml Building UnrealGame... Using Visual Studio 2022 14.44.35214 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.44.35207) and Windows 10.0.26100.0 SDK (C:\Program Files (x86)\Windows Kits\10). Warning: Visual Studio 2022 compiler is not a preferred version [Adaptive Build] Excluded from TUIO unity file: TUIO.cpp, TuioContainerStruct.cpp, TuioReceiverComponent.cpp Determining max actions to execute in parallel (16 physical cores, 24 logical cores) Executing up to 16 processes, one per physical core Requested 1.5 GB memory per action, 15.53 GB available: limiting max parallel actions to 10 Using Parallel executor to run 4 action(s) ------ Building 4 action(s) started ------ [1/4] Compile [x64] TuioContainerStruct.cpp D:\EpicGames\UE_5.4\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformProcess.h(800): error C2062: 意外的类型“void” D:\EpicGames\UE_5.4\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformProcess.h(801): error C2334: “{”的前面有意外标记;跳过明显的函数体 [2/4] Compile [x64] TuioReceiverComponent.cpp D:\EpicGames\UE_5.4\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformProcess.h(800): error C2062: 意外的类型“void” D:\EpicGames\UE_5.4\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformProcess.h(801): error C2334: “{”的前面有意外标记;跳过明显的函数体 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Source\TUIO\Private\TuioReceiverComponent.cpp(49): error C2027: 使用了未定义类型“ENamedThreads::Type” D:\EpicGames\UE_5.4\Engine\Source\Runtime\Core\Public\GenericPlatform\GenericPlatformProcess.h(69): note: 参见“ENamedThreads::Type”的声明 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Source\TUIO\Private\TuioReceiverComponent.cpp(49): error C2065: “GameThread”: 未声明的标识符 D:\LYF_File\LED\Build\HostProject\Plugins\TUIO\Source\TUIO\Private\TuioReceiverComponent.cpp(49): error C3861: “AsyncTask”: 找不到标识符 [3/4] Compile [x64] TUIO.cpp [4/4] Compile [x64] Module.TUIO.cpp Total time in Parallel executor: 4.24 seconds Total execution time: 5.92 seconds Took 6.00s to run dotnet.exe, ExitCode=6 UnrealBuildTool failed. See log for more details. (C:\Users\renzi\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+EpicGames+UE_5.4\UBA-UnrealGame-Win64-Development.txt) AutomationTool executed for 0h 1m 8s AutomationTool exiting with ExitCode=6 (6) BUILD FAILED 命令行报错
09-19
System.NullReferenceException 未将对象引用设置到对象的实例。 在 Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.ResourceResolver.ResourceResolverHelper.<ResolveResourceReferenceAsync>d__24.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)Microsoft.VisualStudio.DesignTools.Utility.ThreadHelperBase.<>c__DisplayClass20_0`1.<<RunWithUIReentrancy>b__0>d.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()Microsoft.VisualStudio.DesignTools.Utility.ThreadHelperBase.RunWithUIReentrancy[T](Func`1 func, CancellationToken cancellationToken, Boolean configureAwait)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Utility.DesignerResourceResolverHelper.ResolveResourceReference(IXamlResourceService xamlResourceService, IModernDocumentRootResolver resolver, DocumentNode resourceReferenceNode, Nullable`1 theme, Boolean avoidDocumentParse)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.ViewModel.SceneNode.get_HasErrors()Microsoft.VisualStudio.DesignTools.SurfaceDesigner.ViewModel.SceneNode.get_RequiresNotification()Microsoft.VisualStudio.DesignTools.XamlSurfaceDesigner.Views.XamlSceneView.GetSceneNodeWithNotifications()Microsoft.VisualStudio.DesignTools.XamlSurfaceDesigner.Views.NotificationsAdornerSceneNodeSetFactory.CreateInstance(AdornerLayer adornerLayer, IList`1 adornerSceneNodeSets, AdornerSceneNodeSetCreationContext context)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Views.AdornerLayer.GetAdornerSceneNodeSets(AdornerSceneNodeSetCreationContext adornerSceneNodeSetCreationContext)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Views.AdornerLayer.<>c__DisplayClass63_0.<RebuildAdornerSets>b__0()Microsoft.VisualStudio.DesignTools.Utility.ProtectionZone.TrueProtectionZone.Execute(Action action)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Views.AdornerLayer.RebuildAdornerSets(Tool activeTool)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Tools.Tool.RebuildAdornerSets()Microsoft.VisualStudio.DesignTools.SurfaceDesigner.Tools.Tool.ActiveSceneViewModel_EarlySceneUpdatePhase(Object sender, SceneUpdatePhaseEventArgs e)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.ViewModel.SceneUpdatePhaseEventHandler.Invoke(Object sender, SceneUpdatePhaseEventArgs e)Microsoft.VisualStudio.DesignTools.SurfaceDesigner.ViewModel.SceneViewModel.FireEarlySceneUpdatePhase(SceneUpdatePhaseEventArgs args)Microsoft.VisualStudio.DesignTools.Utility.ProtectionZone.TrueProtectionZone.Execute(Action action)
09-29
SetSite failed for package [GitCodeLensShowPackage]Source: 'GitLineCodeLens' Description: 未能加载文件或程序集“Microsoft.VisualStudio.Threading, Version=17.14.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。 System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.VisualStudio.Threading, Version=17.14.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。 文件名:“Microsoft.VisualStudio.Threading, Version=17.14.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a” 在 GitCodeLensShow.GitCodeLensShowPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass17_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck) 警告: 程序集绑定日志记录被关闭。 要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。 注意: 会有一些与程序集绑定失败日志记录关联的性能损失。 要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。
08-26
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值