Issue in using directive codes

0 down vote favorite Im trying to extract the part of code from my CS file using Roslyn and Im suffering the below problem. My C# file code: class ConditionalCompilationCode { if Condition2 ...

Id #502 | Release: None | Updated: Nov 15 at 11:58 PM by PauloMorgado | Created: Nov 9 at 10:51 AM by sarathkumarv

Issue calling overloaded generic function

I'm using Visual Studio 2015 version 14.0.24720.00 Update 1 with .NET Framework 4.6.0.1055 I have a static class with one overloaded generic method: public static class ChangeRecordHelper { publi...

Id #501 | Release: None | Updated: Feb 4 at 11:00 AM by PauloMorgado | Created: Feb 1 at 10:09 AM by kszlachetka

Get Error When Update Nuget Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.1

I'm Update Nuget Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform from 1.0.0 to 1.0.1 and Delete Old folder in packages (Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0). When...

Id #500 | Release: None | Updated: Jan 13 at 12:24 AM by PauloMorgado | Created: Jan 12 at 9:56 AM by boontham_hom

roslyn error-code -2146232797 / maybe something with changed "Overload resolution"

Following C# Code can't be compiled with roslyn - why? With previews compiler versions, this works fine. console-program: class Program { static void Main(string[] args) { Number n = 5.0m; ...

Id #499 | Release: None | Updated: Oct 29, 2015 at 7:32 AM by PauloMorgado | Created: Oct 22, 2015 at 11:11 AM by ptr8

ConvertToAutoPropertyCS sample project won't do anything

After building and starting that project, it won't show anything under quick actions for properties. I could not hit any breakpoint in source code too.

Id #498 | Release: None | Updated: Oct 5, 2015 at 6:22 PM by PauloMorgado | Created: Oct 5, 2015 at 5:31 PM by dmihailescu

Wrong ConvertedType at "params" parameter

Consider the following methods: public static string Format(string format, object arg0); public static string Format(IFormatProvider provider, string format, params object[] args); on invocati...

Id #497 | Release: None | Updated: Sep 11, 2015 at 10:57 AM by PauloMorgado | Created: Sep 11, 2015 at 9:29 AM by domoszlai

Update home page for VS2015 RTM

Install the SDK Templates VSIX package to get the Visual Studio project templates. Link "http://visualstudiogallery.msdn.microsoft.com/849f3ab1-05cf-4682-b4af-ef995e2aa1a5" doesn't work anymore.

Id #496 | Release: None | Updated: Aug 2, 2015 at 8:13 PM by existen | Created: Aug 2, 2015 at 8:13 PM by existen

Fix VS2013 + Roslyn and/or Resharper compatibility

By this stage, this may be a known issue and/or duplicate, but it's hard to say with as fast as the sands are shifting these days. I installed the preview and templates for Visual Studio 2013 Pro...

Id #495 | Release: None | Updated: Jun 17, 2015 at 7:32 AM by PauloMorgado | Created: Jun 15, 2015 at 4:55 PM by mwpowellhtx

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, 2015 at 4:54 PM by PauloMorgado | Created: Mar 18, 2015 at 11: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, 2015 at 8:12 PM by chasemedallion | Created: Mar 6, 2015 at 8:12 PM by chasemedallion