Solved

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

Posted on 2012-03-24
7
319 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
  • 3
  • 3
7 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now