Base solution for your next web application
Open Closed

Cannot compile MAUI project #12195


User avatar
0
drutter1954 created

I have downloaded a new project for version 13.4.0 and worked successfully on the web portion of the solution. When I tried to start on the MAUI mobile portion the first thing I attempted was to compile the base project. The build fails with the following error:

Unable to find project information for '/Users/davidrutter/Downloads/MyProject/src/MyProject.Web.Core/MyProject.Web.Core.csproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. Restore failed.

The Web.Core project does compile successfully when I build the Web solution. This error occurs whether I use the .Mobile.sln or the .All.sln, even thought the .All solution contains the .Web.Core.csproj. I tried adding the .Web.Core project to the .Mobile solution but that generated another series of errors; errors attempting to locate the EntityFramework project and other references from the .Web.Core project. After removing the .Web.Core project back out of the Mobile solution, it generate over 270 errors all indicating that the Abp classes could not be found.

How do I get the project to compile successfully?


No answer yet!