.csproj file opens VisualStudio to nothing

David Thielen 2,231 Reputation points
2022-01-25T16:11:19.157+00:00

Hi all;

This is a super weird one.

There is a program that creates a couple of .cs files and a .csproj file for use. Generally you then open the .csproj file in Visual Studio and you have the project, with the associated .cs files. And it then wants to create a .sln file.

But in one case, it opens and there's nothing. It opens the .csproj file with no complaints, but the Solution Explorer is blank. Not even a solution node. And the Save Solution As... menu item is greyed out. Yet it had no complaints when opening the file.

The .csproj file appears to be identical to the others auto-generated that work fine. So why does it fail for this one case?

thanks - dave

168432-full-golden-cross-algo-c.txt (rename to .csproj)

Also asked on StackOverflow

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,567 questions
{count} votes