Failed to get Roslyn end user preview but uses old compiler

I tried to install the Roslyn end user preview to play with some of the new C # 6.0 features, but I can't seem to get it to work. I have Visual Studio Premium 2013 Update 3. I downloaded the Roslyn End User Preview and it installed without any problems. After restarting Visual Studio, I tried to do what was suggested: create a new project so that it switches to the new compiler, then drop that project and open an existing project or create another new project.

Now I tried to create a simple console project using the .NET 4.5 framework. However, I can't seem to get any of the new C # 6.0 features to work. For me, neither auto-property initializers, nor declaration expressions, nor exception filters, nor explicit constructors will compile. I tried to compile identical code on another computer without Roslyn preview, and it gives me the same compilation errors, so it seems like it is still using the old compiler.

How can I get VS to switch to using the Roslyn compiler?

+3
c # -6.0 visual-studio-2013 roslyn


source to share


No one has answered this question yet

See similar questions:

23
No C # 6.0 in Visual Studio 2015 CTP?
6
Enabling C # 6 in ASP.VNext Projects in Visual Studio CTP2

or similar:

328
How can I switch my subscriber to Visual Studio 2013?
237
Does C # 6.0 work on .NET 4.0?
213
How can I add MVC5 to Visual Studio 2013?
126
How can I disable C # 6 support in Visual Studio 2015?
18
C # 6.0 TFS Builds
6
Can I install Roslyn without Visual Studio?
2
Failed to compile Roslyn project
2
Unable to create a new Diagnostics with Code Fix project! (Roslin + VS2013)
1
A workaround with the Roslyn compiler in such a way that visual studio 2013 "understands"
0
Is Roslyn end-user view available?



All Articles
Loading...
X
Show
Funny
Dev
Pics