?
Solved

Visual C# crash when I try to open or create new project / files

Posted on 2012-03-24
7
Medium Priority
?
326 Views
Last Modified: 2012-03-25
I have installed Visual Studio 2010 (VB.net) and work without problem, but C# 4.0 don't work.

Attached some Screenshot about the errors.

I have installed C# 4.0 and not work and after uninstall it I was installed C# 4.0 (express edition) with some result.

I have win7 and 4.0 framework installed.

Someone can help me to solve this problem ?
error1.png
error2.png
error3.png
error4.png
0
Comment
Question by:luca345
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 2000 total points
ID: 37762235
Looking at your messages and the 4th picture.
There seems to be a problem with the target framework (of .net) for the app - version 4 is specified BUT the highest version you have available is 3.5


What I would suggest is to do a complete uninstall of the express version of C# and VS 2010.
Reboot.  Now do a complete install of VS 2010.
Once that is done try to create a new C# project using the .net 4 framework and see if that works OK.
Hopefully it will.  (This current project might be corrupt somehow - I'd test a completely new project before attempting to open/compile this one again).
0
 

Author Closing Comment

by:luca345
ID: 37762321
I' have installed the VS SP1 and now there is no crash, the warring is also present but the application run.

Thank you !
0
 
LVL 3

Expert Comment

by:Simplist
ID: 37762506
You are missing the right framework. Re-install .net framework 4. Apply all microsoft updates after that.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:luca345
ID: 37762527
Yes. I will do, thank you !

P.S.

Do you known if exist a way do prevent the debug in some specific module ?
0
 
LVL 3

Expert Comment

by:Simplist
ID: 37762549
While debugging you will find in the Debug entry of your Main menu options like "Step Into F10", "Step Over F11" and "Step Out Shift+F11" that will behave differently on a call to a specific module. 1st option will debug the statement, 2nd option will just execute the statement without debugging and stop on the next, last option will execute all remaining statements of the current module and stop on the first statement following the call to the module you were in.
Step through your code or place breakpoints to debug the parts of your code to investigate why it creates errors in spite of your excellent program design.
0
 

Author Comment

by:luca345
ID: 37762559
Thank you , but I mean at run time (some lines in the module)
0
 
LVL 3

Expert Comment

by:Simplist
ID: 37762574
Sorry, never encountered that option. You'd better start another thread for that question.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question