Visual Studio 2012 无法创建项目 [英] Visual Studio 2012 failed to create project

查看:48
本文介绍了Visual Studio 2012 无法创建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚从 Windows 7 升级到了 Windows 8.Visual Studio 2010 完全崩溃了.那好吧.我删除了 vs2012 并安装了 Visual Studio 2012,痛苦开始了.我一直在重新安装 vs 2012 几次.但是,症状保持不变.当我尝试创建一个新项目 (FILE -> New -> Project or ctrl + N).
它弹出一个错误消息对话框说
"无法从文本 '..\Images\Medium.png' 创建 ImageSource.
" 我就像 @#*%&^@*#@#(.所以有人能告诉我我的 Visual Studio2012 发生了什么吗?顺便说一句,我可以毫无问题地打开和运行现有的 vs2010 项目.
我绝对不想在 windows 8 上进行全新安装,也不想回滚到我的 windows 7.干杯,

I just upgraded to windows 8 from windows 7. Visual studio 2010 broke down completely. Oh well. I removed vs2012 and installed visual studio 2012, where the pain starts. I have been reinstalling vs 2012 a couple of times. However, the symptom remains the same. When I try to create a new project (FILE -> New -> Project or ctrl + N).
It pops up with an error message dialogbox saying
"Failed to create a ImageSource from the text '..\Images\Medium.png'.
" I am like @#*%&^@*#@#(. So can anyone please tell me what is going on with my Visual Studio2012? By the way, I can open and run the existing vs2010 projects with no problems.
I definitely neither want to do a fresh install on windows 8 nor rolling back to my windows 7. Cheers,

推荐答案

为了解决这个问题,我修改了文件中everybody"的修改"权限

To resolve that problem, I've change the permission of "modify" for "everybody" on the files

c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config

c:\windows\microsoft.net\framework\v2.0.50727\config\machine.config

c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config

c:\windows\microsoft.net\framework\v4.0.30319\config\machine.config

不知道这是否是最好的方法,但至少它有效.

Don't know if it's the best way to do it, but at least it works.

这篇关于Visual Studio 2012 无法创建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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