创建了新的C#项目,但尚未加载 [英] New C# project is created, but it's not being loaded

查看:49
本文介绍了创建了新的C#项目,但尚未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次使用Visual Studio 2015(社区)时,我一直遇到问题,因为每次尝试创建项目时,都会创建该项目,并在目录中分配了该文件夹,但是没有打开.我收到以下错误消息:

I've been having problems using Visual Studio 2015 (Community) as every time I try to create a project, the project is created, the folder allocated on my Directory, however it isn't opened. I receive the following error message:

项目<在此处插入名称>无法打开,因为无法创建Visual C#2015编译器.请重新安装Visual Studio.

不用说,我已经尝试过修复,卸载/重新安装和卸载/重新启动/安装/重新启动.我什至已经尝试过https://social.msdn.microsoft.com/Forums/zh-CN/d6875f1c-825b-4111-ae45-d126c9363b87/project-could-not-open-because-the- -microsoft-visual-c-2015编译器无法创建?forum = vssetup 无济于事.在过去的一个月里,我一直在努力使其正常运行,当我加载2013版本时,它可以完美地运行.

Needless to say, I already tried repairing, unistall/reinstall and uninstall/reboot/install/reboot. I even already tried the steps outlined in https://social.msdn.microsoft.com/Forums/en-US/d6875f1c-825b-4111-ae45-d126c9363b87/project-could-not-be-opened-because-the-microsoft-visual-c-2015-compiler-could-not-be-created?forum=vssetup to no avail. I've been struggling to get this working for the past month, and when I loaded a 2013 version, it works flawlessly. 

任何有关如何解决此问题的帮助将不胜感激.

Any help on how this could be solved will be appreciated.

从Windows 8.1升级后,当前可在Windows 10上运行

Currently working on Windows 10 after being upgraded from Windows 8.1

推荐答案

尊敬的 jumbonionga

Dear jumbonionga,

欢迎来到MSDN论坛.

要了解导致此错误的原因,我需要您的帮助来收集VS安装日志.请使用 http://aka.ms/vscollect 收集安装日志.使用它之后,您将在%temp%文件夹下找到vslogs.zip.请将文件上传到 https://onedrive.live.com/ 并在此处共享链接.

To catch the cause of this error, I need your help to collect the VS installation logs. Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file to https://onedrive.live.com/ and share the link here.

如果您使用ISO文件安装VS,请使用FCIV.exe工具: http://blogs.msdn.com/b/heaths/存档/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspx https://www.visualstudio.com/downloads/download-visual-studio-vs ,然后使用它进行修复或重新安装.在下一次安装之前,您可以使用/uninstall/force参数强制将其卸载.

If you used the ISO file to install VS, please use the FCIV.exe tool: http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspx to get the SHA-1 value and compare it with the expected one "2006A81AC4F6F0A2B076DBD53E087F954808C618" (English version). If you used the web installer, please try to download the ISO file from: https://www.visualstudio.com/downloads/download-visual-studio-vs and use it to repair or reinstall. Before the next installation, you can forcibly uninstall it with the /uninstall /force parameter.

根据错误消息,我发现2种解决方案都存在类似问题,请参考以下内容: https://social.msdn.microsoft.com/Forums/vstudio/zh-CN/146fbb05-ab92-4a31-a29e-ed85599e12b7/visual-c-2015-rc-compiler-could-未创建?forum = vssetup

According to the error message, I found a similar issue with 2 solutions, please refer to this: https://social.msdn.microsoft.com/Forums/vstudio/en-US/146fbb05-ab92-4a31-a29e-ed85599e12b7/visual-c-2015-rc-compiler-could-not-be-created?forum=vssetup

MuhammadTayyab

MuhammadTayyab: I uninstalled the Visual Studio and then manually removed all related registry keys and files from AppData. Then I downloaded the ISO file and verified the Hash. Now I just installed it using that ISO and it seem to work fine now.

AlexLordEaster :

AlexLordEaster:

1.Visual Studio日志中检测到跳过的内容.在"temp"中搜索所有VS安装日志.按关键词

已添加到无操作"列表中"

2.复制粘贴包含GUID的跳过软件包的列表.

2. Copy paste the list of skipped packages includes GUID.

3.手动从Win注册表中卸载它们:Windows \ Installer \ ...产品\(也有msi.exe 安装cmd行,如果需要的话,也可以删除注册表记录 你知道怎么做)

3.Manualy uninstall them from win registry: Windows\Installer\...Products\ (there is also msi.exe  install cmd lines, or just delete registry records if you know how)

4.再次运行修复VS它们.如果仍然存在,请检查1,然后重复2-4.

最好的问候,

Sara


这篇关于创建了新的C#项目,但尚未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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