Locked Hi to all

  • Monday, March 26, 2012 6:07 PM
     
     

    How can i overcome this issue...?

    Project 'ConsoleApplication5' could not be opened because the Microsoft Visual C# 2010 compiler could not be created. Please re-install Visual Studio.

    I am using VS2010 professional. I tried many things like  resetsettings, regedit changes,.....

    Please anyone help me...

    Thanks in-advance


    Manikandan Murugeshan

All Replies

  • Tuesday, March 27, 2012 5:59 AM
     
     
    Have you tried uninstalling VS 2010 and re-installing it?
  • Tuesday, March 27, 2012 11:47 AM
     
     

    Its Waste of time for me to re install. It tooks me nearly hour and half to reinstall . And also how can i ensure that reinstall works properly....?If reinstall also throws the same message means...?


    Manikandan Murugeshan


  • Tuesday, March 27, 2012 12:59 PM
     
     

    Hi Manikandan, you could try resetting the VS packages with the following steps below and see if it helps.

    1. Click "Start"
    2. Click "All Programs"
    3. Click "Microsoft Visual Studio 2010"
    4. Click "Visual Studio Tools"
    5. Click "Visual Studio Command Prompt (2010)"
    6. Type "devenv /resetskippkgs"

  • Tuesday, March 27, 2012 4:18 PM
     
     

    Hi 

    i cant able to find the point N0 : 4 option which you listed.... don't mind could you please tech me how to get that option....


    Manikandan Murugeshan

  • Tuesday, March 27, 2012 4:40 PM
     
     

    Hi Manikandan, you do not see a folder called "Visual Studio Tools" as seen in the image below?

    If you don't, please try the following steps below.

    1. Click "Start".
    2. In "Search programs and files", type "Run" and press "Enter".
    3. Type "cmd" and press "Ok".
    4. Once the command prompt window is shown, please type cd C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\ and press "Enter".
    5. After that, please type "devenv /resetskippkgs" and press "Enter".

  • Tuesday, March 27, 2012 5:06 PM
     
     

    hi

    still i am getting the same issue.... wat to do...


    Manikandan Murugeshan

  • Tuesday, March 27, 2012 6:02 PM
     
     
    hey i found out that c# is only not working. but VB is working  fine. Wat the problem  in c#?

    Manikandan Murugeshan

  • Wednesday, March 28, 2012 5:42 AM
    Moderator
     
     Answered

    Hi Manikandan,

    Welcome to the MSDN forum.

    Visual Studio on your side is corrupt. I still strongly recommend you try to reinstall Visual Studio, even though I cannot ensure it will works properly. I think it is worthy of being tried.

    If you have installed Service Pack 1 of Visual Studio 2010, please uninstall it first in Control Panel. Then, please use Visual Studio 2010 Uninstall Utility to remove Visual Studio: http://archive.msdn.microsoft.com/vs2010uninstall

    Run this tool in Complete mode by adding two switches (/full /netfx) in Command Prompt:

    VS2010_Uninstall-RTM.ENU.exe /full /netfx

    Removes entire set of Visual Studio 2010 and supporting products, including Microsoft .NET Framework 4.0 and components shared with previous versions of Visual Studio. Note: may break features of previous versions of Visual Studio or other products taking dependency on Microsoft .NET Framework 4.0.

    After that, reinstall Visual Studio 2010: Clean up your “%temp%” folder (Start>>Run>>%temp%). Next, check if there are any anti-virus or antispyware applications running. Make sure they are turned off during installation. Finally, run the setup file with Administrator privileges: Right-click the installer > Run as administrator.

    If the same error occurs, please collect the activity logs of Visual Studio. To log all activity to the specified log file when we apply Visual Studio products, we can issue "/log" option to run Visual Studio instance. The steps would be similar as:
    Go to Start menu >> Run >> Type "Devenv.exe /log". Then the log files will be generated in the “%APPDATA%\Roaming\Microsoft\VisualStudio\10.0\”. Its name is ActivityLog.xml. After Visual Studio launch, please try to open a C# project or create a C# project. After the error message appears again, close Visual Studio. Now the activity log is generated completely.

    After get the Visual Studio log, you can upload it to an open web site like Windows Live SkyDrive or send it to me (E-mail: v-alsun_at_microsoft_dot_com) for further diagnose.

    Note: Please attach the link of this post in the mail.

    If you have any other problems, please feel free to let me know.

    Best Regards,


    Alexander Sun [MSFT]
    MSDN Community Support | Feedback to us