gpt4 book ai didi

visual-studio-2013 - Visual Studio 2013 不会以管理员身份运行

转载 作者:行者123 更新时间:2023-12-04 22:31:24 31 4
gpt4 key购买 nike

我试图让 Visual Studio 2013 以管理员身份运行,但我不断收到错误消息。我已经搜索并尝试了其他版本的 VS 的解决方案,但这些修复不适用,所以希望这里有人可以提供帮助。

当我尝试以管理员身份运行 VS2013 时,出现应用程序无法启动的错误。

我看到一些关于复制和注册 dte*.olb 文件的文章,但它们适用于以前版本的 VS。我复制了其中一个文件并注册了它,现在我可以解决原始错误,但我无法编译任何应用程序 - 包括任何默认模板工作区。在我变得太疯狂并可能使事情变得更糟之前,我想在这里问一下。

如果我没有收到“应用程序无法启动”消息,当我尝试编译任何东西时,我会收到此消息:

---------------------------
Microsoft Visual Studio
---------------------------
Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
---------------------------
OK
---------------------------

问题是该错误代码并没有告诉我哪些库不会加载。

输出窗口说:
Error occurred while restoring NuGet packages: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))
1>------ Build started: Project: WcfService1, Configuration: Debug Any CPU ------
1> WcfService1 -> C:\Users\David\Documents\Visual Studio 2013\Projects\WcfService1\WcfService1\bin\WcfService1.dll
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

我尝试卸载并重新安装 NuGet,但行为没有改变。

如果我转到项目属性,则看不到 Web、打包/发布 Web 或代码分析选项卡。



有谁知道如何解决这个问题?

这是在 Windows 8.1 专业版上。我的确切 VS 配置如下。
Microsoft Visual Studio Professional 2013
Version 12.0.30110.00 Update 1
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

LightSwitch for Visual Studio 2013 06177-004-0444002-02105
Microsoft LightSwitch for Visual Studio 2013

Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU 06177-004-0444002-02105
Microsoft Office Developer Tools - Update 1 for Visual Studio 2013 ENU

Team Explorer for Visual Studio 2013 06177-004-0444002-02105
Microsoft Team Explorer for Visual Studio 2013

Visual Basic 2013 06177-004-0444002-02105
Microsoft Visual Basic 2013

Visual C# 2013 06177-004-0444002-02105
Microsoft Visual C# 2013

Visual C++ 2013 06177-004-0444002-02105
Microsoft Visual C++ 2013

Visual F# 2013 06177-004-0444002-02105
Microsoft Visual F# 2013

Visual Studio 2013 Code Analysis Spell Checker 06177-004-0444002-02105
Microsoft® Visual Studio® 2013 Code Analysis Spell Checker

Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.

The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.

Windows Phone SDK 8.0 - ENU 06177-004-0444002-02105
Windows Phone SDK 8.0 - ENU

ASP.NET and Web Tools 2013.1.41009
Microsoft Web Developer Tools contains the following components:
Support for creating and opening ASP.NET web projects
Browser Link: A communication channel between Visual Studio and browsers
Editor extensions for HTML, CSS, and JavaScript
Page Inspector: Inspection tool for ASP.NET web projects
Scaffolding: A framework for building and running code generators
Server Explorer extensions for Windows Azure Web Sites
Web publishing: Extensions for publishing ASP.NET web projects to hosting providers, on-premises servers, or Windows Azure

ASP.NET Web Frameworks and Tools 2012.2 4.1.21001.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.0.11213.0
For additional information, visit http://www.asp.net/

Common Azure Tools 1.0
Provides common services for use by Azure Mobile Services and Windows Azure Tools.

JetBrains ReSharper 8.1 Full Edition build 8.1.23.546 on 2013-12-12T07:30:52
JetBrains ReSharper 8.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2014 JetBrains, Inc.

Microsoft Advertising SDK for Windows Phone
Microsoft Advertising SDK for Windows Phone
Build

NuGet Package Manager 2.8.50126.477
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools 12.0.30919.1
Microsoft SQL Server Data Tools

Visual Studio Spell Checker VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type.

Windows Azure Mobile Services Tools 1.0
Windows Azure Mobile Services Tools

Windows Azure Remote Debugging 1.0
Windows Azure Remote Debugging Community Technology Preview

Windows Azure Tools 2.2
Windows Azure Tools for Microsoft Visual Studio 2013 - v2.2.11003.1601

Workflow Manager Tools 1.0 1.0
This package contains the necessary Visual Studio integration components for Workflow Manager.

最佳答案

我将给出有史以来最悲伤的答案:您是否尝试过完全卸载、重新启动和重新安装 Visual Studio?

如果问题是由加载项或类似的结果引起的,这也将有所帮助。

我在 win7 上全新安装 VS2013 时遇到了很多问题(项目未加载、崩溃等)。可悲的是重新安装是唯一有帮助的事情。我知道这是一个糟糕的建议,但有时仍然是解决某些 VS 弊病的最佳方法之一。

[编辑]
我不喜欢修复失败的安装,除非它每次都失败。
引用 Connect Article (对于 VS2012 但同样的问题)。

This Stack Overflow 问题可能有助于解决崩溃问题。这个问题是针对 VS2008 的,但它看起来是一样的。尝试按照建议重置您的字体。 (我认为至少运行 Devenv/ResetSettings 不是一个坏主意)

关于visual-studio-2013 - Visual Studio 2013 不会以管理员身份运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22675432/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com