June 13, 2013

VS2012 C# compiler issue solution

If you encounter problem while creating new project in VS2012 or 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
Solution 3:
Install patch available on path
\\192.168.2.254\Softwares\Microsoft Sharepoint 2013\Other softwares\VS10-KB980610-x86.exe


If you have any questions you can reach out our SharePoint Consulting team here.

No comments:

Post a Comment