Bug 28171 - 'C# Compiler could not be created' after installing Xamarin
Summary: 'C# Compiler could not be created' after installing Xamarin
Status: RESOLVED NORESPONSE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-18 17:20 UTC by Thomas Holmes
Modified: 2016-12-22 21:58 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Thomas Holmes 2015-03-18 17:20:51 UTC
I installed Xamarin yesterday hoping to use with Visual Studio 2013 Premium. However, whenever I try to start a new project I get an error saying the compiler could not be created. Older projects build, but there are no language services and CS files are treated like regular text files.

I've tried using the Visual Studio repair tool in add remove programs and devenv.exe /ResetSkipPkgs but that hasn't fixed the problem. I suspect the problem is related to Rosyln, which I've been using for a few months now.

I've posted about my problem on the Xamarin forums (http://forums.xamarin.com/discussion/36083/c-compiler-could-not-be-created) and StackOverflow (https://stackoverflow.com/questions/29132705/c-compiler-could-not-be-created-after-installing-xamarin) and it was suggested I submit a bug here.

I really don't want to reinstall Visual Studio, but I think I'm out of options. Any advice?
Comment 1 Prashant manu 2015-08-18 09:33:31 UTC
@Thomas, Could you please try below solution and let us know if this works for you?

Go to Start> Run and type in REGEDIT, hit enter.
Open registry editor and delete the following registry key  :
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio

Also if you are still getting same problem please add the logs from the following places:
For VS, IDE log: Location: C:\User\AppData\Local\Xamarin\Log\ 
(Devenev file with latest timestamp)
Environment Info: Help> About Microsoft VS
Comment 2 Jose Gallardo 2016-12-22 21:58:37 UTC
Resolving as NoResponse.
Thanks