How to fix Umbraco CMS Build Error NU1104: Unable to find project '..\Umbraco-CMS\tools\Umbraco.Core\Umbraco.Core.csproj'.
Yesterday during an online meeting, I was talking about how to contribute to Umbraco CMS. As part of this talk, in order to set up my local Umbraco CMS project, I cloned the latest Umbraco.CMS code to my local machine, but when I built it I saw the following error:
Error NU1104 Unable to find project 'D:\git\repos\Umbraco-CMS\tools\Umbraco.Core\Umbraco.Core.csproj'. Check that the project reference is valid and that the project file exists. Umbraco.JsonSchema D:\git\repos\Umbraco-CMS\tools\Umbraco.JsonSchema\Umbraco.JsonSchema.csproj
I was surprised to see this error as I did the exact same thing a couple of days ago and saw no problems.
After trying a few things, I checked the Umbraco.JsonSchema project's project references and realised that Umbraco.Core project reference was broken.
After removing Umbraco.Core from the Umbraco.JsonSchema and adding it again fixed the problem and I could then do my local database setup as normal.
Comments
Post a Comment