Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Visual Studio not able to open .csproj files?

I have the odd problem that I am not able to open the properties of my .NET projects in Visual Studio. If I try to open it by clicking on the Properties tree node in the Solution Explorer I get the following message:

There is no editor available for '....csproj'. Make sure the application for the file type (.csproj) is installed.

If I try to open the project properties by the main menu nothing happens at all.

I already tried to reset the Visual Studio settings by command line and a repair installation but nothing helped so far.

I use the Visual Studio 2008 in version 9.0.30729.1 SP including the XNA Game Studio 3.0, ReSharper 4.1 and Visual SVN 1.5.1.

It is occurring on all my projects and seems to be a local issue because my co-workers do not have this kind of problem.

Help is much appreciated!

Thanks, Michael

like image 824
Mil Avatar asked Dec 04 '08 10:12

Mil


People also ask

How do I open a .csproj file in Visual Studio 2022?

Double-click the . csproj file to open it in Visual Studio. See Start from a Visual Studio solution or project.

How do I open a .csproj file?

CSPROJ files are are meant to be opened and edited in Microsoft Visual Studio (Windows, Mac) as part of Visual Studio projects. However, because CSPROJ files are XML files, you can open and edit them in any text or source code editor.

What is .csproj Visual Studio?

Every Visual Studio project includes an MSBuild project file, with a file extension that reflects the type of project—for example, a C# project (. csproj), a Visual Basic.NET project (. vbproj), or a database project (. dbproj).


1 Answers

Repair installation doesn't worked as I mentioned in my question. The problem was solved by using the command line with

devenv /ResetSkipPkgs

BUT after that I had to reset some of my Resharper settings.

like image 84
Mil Avatar answered Oct 23 '22 03:10

Mil