Visual Studio 2015 Preview, Roslyn runtime error.! (“OpenSourceDebug” project)

Topics: General
Dec 17, 2014 at 12:45 AM
Edited Dec 17, 2014 at 1:00 AM
Visual Studio 2015 Preview, Roslyn runtime error.! (“OpenSourceDebug” project)

I am newbie in Roslyn.
  1. clean install 'Visual Studio 2015 Preview' and 'Visual Studio 2015 Preview SDK'
  2. git clone https://git01.codeplex.com/roslyn
  3. git checkout remotes/origin/releases/Dev14Preview
  4. select “OpenSourceDebug” project and choose “Set as Startup Project”
  5. build Solution (build success)
  6. Start Debugging (F5)
  7. second VS2015 instance executed
  8. open c# file or create c# project in executed second VS2015 instance
C:\roslyn\Src\Workspaces\Core\Portable\Workspace\Host\Mef\MefLanguageServices.cs (line 54)
return (TLanguageService)service.Value; ==> An exception of type 'System.Reflection.TargetParameterCountException' occurred in mscorlib.dll but was not handled in user code

F5 (ignore and continue)

C:\roslyn\Src\Workspaces\Core\Portable\Workspace\Host\Mef\MefLanguageServices.cs (line 54)
return (TLanguageService)service.Value; ==> An exception of type 'System.InvalidCastException' occurred in mscorlib.dll but was not handled in user code

crash


How to fix it ?
Marked as answer by gooluck777 on 12/17/2014 at 10:00 PM