Krishna Sarma
Krishna Sarma

Reputation: 1860

Unable to compile Roslyn project

Today I have installed Roslyn September 2012 CTP. I began with a sample console project. After the IDE finished creating the project code, I pressed F5. I ended up with a dozen compilation errors saying none of the Roslyn namespaces found. However the intellesence options are working fine for those references.

I tried with restarting the Visual Studio and even the my PC as per suggestions I found elsewhere. But none could resolve this. Is there anything that I am missing?

Upvotes: 2

Views: 391

Answers (1)

Simon Whitehead
Simon Whitehead

Reputation: 65097

Rep whoring :)

As posted in the comments, this generally happens when there is a .NET Framework target mismatch. Your Visual Studio will be targeting a different version of .NET than what the project or a project reference was developed in.

Upvotes: 3

Related Questions