Error while building Unreal Engine Source code with Nintendo Switch package

I’m trying to build Unreal Engine with the nintendo Switch Package in order to make demos and test the nintendo switch development kit, but in the last step im getting this error “The Platform for project ‘UE4.vcxproj’ is invalid. Platform=‘NX64’. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Platform.”
Someone knows how to fix this?