Error: Project <Name> could not be opened because the Visual C# 2012 compiler could not be created.


Error: Project ‘WebApplication1’ could not be opened because the Visual C# 2012 compiler could not be created. Error creating instance of managed object ‘Microsoft.VisualStudio.CSharp.Services.Language.ManagedObjectFactory’ (Error code is 0x80131513).

Description: Facing this compiler issue, while creating a new Web Application through VS 2012.

Solution

1. Open exe, VS2012 x86 Native Tools Command Prompt (Run as administrator).

Path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Visual Studio 2012\Visual Studio Tools

2. Then run gacutil /u Microsoft.VisualStudio.CSharp.Services.Language.Interop

This will successfully uninstall the service from GAC, which was causing the problem.

Open the VS 12 again and start creating projects…..

Advertisements

One thought on “Error: Project <Name> could not be opened because the Visual C# 2012 compiler could not be created.

  1. Pingback: Csharp Tutorial - Programming In Visual Csharp | 7Wins.eu

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