Error "The OutputPath property is not set for project" VS 2015

13,160

Solution 1

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

enter image description here

Solution 2

For me, the problem was in the package

Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.4.0

Nuget only fetched 'Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.4.0.nupkg' and didnt add the folders 'build', and 'tools'. And therefore didn't have 'Microsoft.VisualStudio.Azure.Fabric.Application.props'.

Once added from an backup (didnt help restoring), I just rebuilt the project and it worked like a charm!

Wasn't the most obvious error-message.

Hope this helps someone.

Share:
13,160
Jagadisha B S
Author by

Jagadisha B S

I don't know But Sure I am following my dream

Updated on June 05, 2022

Comments

  • Jagadisha B S
    Jagadisha B S almost 2 years

    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

  • Per
    Per about 7 years
    Thanks for reminding me about this! I had this happen a few months ago, when I upgraded the SF packages, and it happened now again.