Error “The OutputPath property is not set for project” VS 2015

asp.net-core-mvcbuildconfigurationmsbuildvisual-studio-2015

I have multiple projects in visual studio 2015. I am running my project in "ANY CPU" in debug mode. when I am trying to Run my project, I get the following error:

The OutputPath property is not set for project '.csproj'. Please
check to make sure that you have specified a valid combination
of Configuration and Platform for this project. Configuration='Debug'
Platform='x64'.
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
Configuration or Platform. C:\Program Files
(x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets

Best Answer

I just update the all the project solution into x64 then solution building fine.

enter image description here