How to add new Project to Existing Solution in version 0.6.0.0

Hi, I want to add the new Project to Existing Solution but it did not work I am using the 0.6.0.0 version of Roslyn CTP I am using Following Code MSBuildWorkspace workspace = MSBuildWorkspa...

Id #494 | Release: None | Updated: Mar 18 at 3:54 PM by PauloMorgado | Created: Mar 18 at 10:01 AM by rajeshrai

MSBuildWorkspace fails to open solution if a C# project is missing a compilation target

I am trying to use Roslyn to compile a VS2013 solution for code analysis purposes. The solution has many projects, one of which has no .CS files (we just use it to store JS and CSS files. It has a ...

Id #493 | Release: None | Updated: Mar 6 at 7:12 PM by chasemedallion | Created: Mar 6 at 7:12 PM by chasemedallion

Conditional Compilation in XML Comments

Please support conditional compilation within XML documentation comments. This has been a source of pain since portable libraries came on the scene a while ago. Often linked code files are used to ...

Id #492 | Release: None | Updated: Jan 27 at 8:01 PM by davedev | Created: Jan 27 at 2:44 PM by davedev

Custom name for anonymous methods and lambda expressions to have more readable stack traces.

As you may already know, we can assign a name to a function in javascript, see a following sample: jQuery.ajax("some url : jQuery.ajax will get something from a specified web resource").then(functi...

Id #491 | Release: None | Updated: Jan 19 at 5:52 PM by VSadov | Created: Jan 17 at 4:18 AM by real_persian

GetSymbolInfo returns a weird result in a specific case.

Given this code: using System.Linq; using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace RoslynOddity {...

Id #489 | Release: None | Updated: Feb 25 at 12:32 PM by OmerRaviv2 | Created: Jan 13 at 1:46 PM by dkinitiate

Script Document IntelliSense race condition

Source: (in a Script document): if (someSequence.Count() > 2) IEnumerable<int> RandomStream(int max) { yield return int. Pressing Ctrl+Space, Space, or Enter will try to consume a cancelled Model...

Id #488 | Release: None | Updated: Jan 15 at 5:21 PM by Pilchie | Created: Jan 11 at 5:36 PM by SSL

Editor indents after comment

Keystrokes (in empty file): // After typing the second newline, the editor will add a tab (I use tabs for indent)

Id #486 | Release: None | Updated: Jan 14 at 8:04 PM by Pilchie | Created: Jan 9 at 2:44 PM by SSL

Formatter ignores NewLine options

Run the code below and notice that neither \r\n is removed, nor that \n is being used. using System; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis....

Id #484 | Release: None | Updated: Jan 8 at 5:25 PM by jrieken | Created: Jan 8 at 5:24 PM by jrieken

Rename tries to rename explicit metadata interface implementations

Source: class X : IComparer { int IComparer.Compare(object x, object y) => 0; } class Y : X, IComparer { public int Compare(object x, object y) => ((IComparer)this).Compare(x, y); } Renaming Y....

Id #483 | Release: None | Updated: Jan 8 at 2:09 PM by SSL | Created: Jan 8 at 2:07 PM by SSL

Implement Interface through member adds extra casts

Source: sealed class X : IComparer{ X x; } Quick fix: public int Compare(object x, object y) { return ((IComparer)this.x).Compare(x, y); } Why do you add the cast, even when there is no exp...

Id #482 | Release: None | Updated: Jan 8 at 2:00 PM by SSL | Created: Jan 8 at 2:00 PM by SSL