如何解决Visual Studio错误“找不到一个或多个组件.请重新安装该应用程序".在Windows 8.1中? [英] How to fix visual studio error "cannot find one or more components .Please re-install the application" in windows 8.1?

查看:1491
本文介绍了如何解决Visual Studio错误“找不到一个或多个组件.请重新安装该应用程序".在Windows 8.1中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Alex 建议找到devenv.exe并运行它.当搜索devenv.exe时,我发现它在那里.当我运行此文件时,出现错误"cannot find one or more components .Please reinstall the application".我重新安装了Visual Studio,三次仍然出现相同的错误.如何解决此错误. 这是Visual Studio Ultimate的更新版3.我没有ISO文件,该文件由安装程序自动下载,安装顺利,即没有出现任何错误.

As Alex suggests find devenv.exe and run it . when search for devenv.exe then I found it's there . When I run this file getting error "cannot find one or more components .Please reinstall the application" .I re-installed visual studio thrice still getting same error . How to fix this error . It's visual studio ultimate with update 3 . I don't have ISO file , file automatically downloaded by installer.It's got installed smoothly i.e. without giving any error .


最初的问题是如何在Windows 8.1上为Visual Studio创建快捷方式?
内容:
今天,我在Windows 8.1上安装了带有Windows Phone SDK和多设备混合应用程序的Visual Studio2013.不幸的是,我找不到与今天安装的任何一个应用程序相关的任何快捷方式.


Initial question was How to create shortcut on windows 8.1 for visual studio ?
Contents :
Today I installed visual studio 2013 with windows phone SDK and Multi-device Hybrid apps on windows 8.1 .Unfortunately I am unable to find any shortcuts related to any one of the applications which are installed today .

如何创建快捷方式或应该执行哪个文件来打开IDE?

How can I create shortcut or which file should I execute to open IDE ?

一个答案是search in search charm,它不存在.我尝试了所有可能的方法.

One answer would be search in search charm ,it's not there . I tried all methods that i could .

Windows 8.1程序文件中有以下文件夹

Following folders are there in windows 8.1 program files

C:\ Program Files \ iTunes
C:\ Program Files \ iPod
C:\ Program Files \ Windows Identity Foundation
C:\ Program Files \ Hyper-V
C:\ Program Files \ Common文件
C:\ Program Files \ IIS Express
C:\ Program Files \ Microsoft身份扩展
C:\ Program Files \ SharePoint客户端组件
C:\ Program Files \ Microsoft SQL Server
C:\ Program Files \ Application验证程序
C:\ Program Files \ MSBuild
C:\ Program Files \ IIS
C:\ Program Files \ Microsoft Visual Studio 12.0
在programfilesx86中,与这些应用程序相关的文件夹很多.

C:\Program Files\iTunes
C:\Program Files\iPod
C:\Program Files\Windows Identity Foundation
C:\Program Files\Hyper-V
C:\Program Files\Common Files
C:\Program Files\IIS Express
C:\Program Files\Microsoft Identity Extensions
C:\Program Files\SharePoint Client Components
C:\Program Files\Microsoft SQL Server
C:\Program Files\Application Verifier
C:\Program Files\MSBuild
C:\Program Files\IIS
C:\Program Files\Microsoft Visual Studio 12.0
Many folders are there related to these apps in programfilesx86 .

推荐答案

问题与安全设置有关. 谷歌搜索2-3个小时后,我发现了许多解决方案,但没有一个起作用,于是我尝试了这些解决方案.

Problem is with security setting . After 2-3 hours of Googling i found many solution but none of them work then i tried these solutions .

There is one  folder in your machine:  "C:\ProgramData". 
Don't worry if you don't see this folder, unhide all the folders, you will find it there.
I did not had the rights on "C:\ProgramData\Microsoft\VisualStudio" .
See if you have full rights on the same.
If your are not able to open this folder, This means that you do not have rights on this.
to give rights follow the steps below :
1) Right click on the folder "VisualStudio."
2) Go to Properties->Security. See if your PC name is there in the user names list, 
if not , then add it.
3) Go to Advanced -> Owner -> Edit -> Other users or groups.  add your PC name,
i.e add yourself as the owner of the folder and give full rights.

在此处找到的 Application-data-folder-错误.我无法更改ProgramData文件的安全性,然后尝试了此解决方案.

Which is found here Application-data-folder-error . I was unable to change security of ProgramData files then i tried this solution .

1. On the root folder, right click, select properties, select security tab.
2. Click Advanced
3. The window that pops up should show the current owner. Click "Change." 
The "Select User or Group" pop up box appears. 
4. In the text box, type in your current user name (you should be an admin), and hit the 
"Check Names" button. Your name will be replaced with the "official" system 
 name (i.e.,preceded by computer name and back slash).
5. Click OK
6. The box disappears, sending you back to the Advanced Security Settings window.
7. A new tick box appears below owner, with the text "Replace owner on subcontainers and 
objects" Select this tick box.
8. I also selected the tick box "Replace all child object permission entries
with inheritable permission entries from this object", but I think I had to run this twice
- once with this box ticked and once without.
9. Make sure that "everyone" appears on the Permission entries window, if not,
click add. The same box that appears in step 4 shows up again. 
Type everyone, click "Check Names" and then "OK"
10. Hit apply

可在此处找到最后它能使人们欢呼:)希望它能对其他人有所帮助.

Finally it works cheers :) Hope it will help to some other .

这篇关于如何解决Visual Studio错误“找不到一个或多个组件.请重新安装该应用程序".在Windows 8.1中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆