VS2012 C# compiler issue solution

If you encounter problem while creating new project in VS2012 on 2013 VM, follow steps given below:

Error: C#2012 compiler could not be created

Solution 1:
Check the following settings:

Tools->Options->Text Editor->C#->General->Auto list members

Tools->Options->Text Editor->C#->General->Parameter information

Also check

Tools->Options->Text Editor->C#->Intelligence->

Show completion list after a character is typed

Also,

Tools –> Import and Export Settings -> Reset all Settings

Also,

Instead of changing it for only C#, change it for all the languages

Tools > Options > Text Editor > All Languages

Solution 2:

Run following command on VS2012 x86 Native Tools Command Prompt

gacutil /u Microsoft.VisualStudio.CSharp.Services.Language.Interop

If you are unable to delete the assembly, follow steps given in

http://support.microsoft.com/kb/873195

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s