Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2017 + Xamarin: Imported project was not found

When I try to create a Xamarin.Fomrs project in Visual Studio 2017, it keeps giving me the following error:

enter image description here

I have tried to re-install VS, but that didn't work. When I open the project in File Explorer, everything is there. However, when I open the solution in Solution Explorer in VS, it says 0 projects, why? How can I fix this?

EDIT: The files .projitems and .csproj do exist, when I open the path in File Explorer, so I don't understand the error

like image 890
user4118143 Avatar asked Feb 01 '26 04:02

user4118143


2 Answers

I've fixed the problem. The issue was that when I created the project, I typed a projectname with spaces. Replacing them with _ fixed the issue.

like image 58
user4118143 Avatar answered Feb 03 '26 11:02

user4118143


Thanks, I had a similar issue that you helped resolve. I created a new project that had a hyphen "-" in the game and got the above error. The project would create but it wouldn't load. I didn't use an underscore, I just crammed the letters together. But it let me create the project.

like image 40
Zonus Avatar answered Feb 03 '26 11:02

Zonus