Visual Studio 2012 failed to create project

2019-01-27 19:02发布

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,

8条回答
劫难
2楼-- · 2019-01-27 20:02

I had the same problem with Visual Studio 13. uninstalling/reinstalling VS13 and all shared packages did not solved the problem.

Finally I tried to run it as administrator, as explained above and it worked.

查看更多
Animai°情兽
3楼-- · 2019-01-27 20:02

For me, this happened when I installed mysql on my machine, and it added an extra connection string to my machine config. However, since I was using a separate file for configSource, it resulted my machine config to become corrupted.

Moving the new config key to my config source from the 32bit machine config solved the issue.

查看更多
登录 后发表回答