Accidentally created VB.NET project instead of C#
This should seem simple enough, but can't figure it out.
I was porting a project out of MonoDevelop and into VS2008, but I accidently created the project as VB.NET instead of C#. Now ReSharper and any syntax highli开发者_运维知识库ghting is throwing a fit because it's trying to validate it as VB.
How do I tell it to treat it as a C# project without creating a whole new one?
C# projects and VB.NET projects are so fundamentally different that treating a VB.NET project as a C# project basically would be re-creating the project. I think you just have to re-create the project from the existing files using the "New" => "Project from Existing Code" command in Visual Studio's File menu.
Try to rename the project file to .csproj.
精彩评论