Tech Talk A software developer on all things tech, and then some

30Jan/120

The OutputPath property is not set for project

I recently got the error "The OutputPath property is not set for project '[ProjectName]'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='BPC'. 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."

Two Possible solutions I found so far.

Solution 1 : Do what the error says

If you read the above error, the first solution is in the error itself. The steps to do this :

  • Look at your two solution's configuration. Left click on your solution and hit Alt + Enter. This will open up the Property page for your solution. Click on Configuration Properties -> Configuration, and make sure the Platform matches for both solutions.
  • Next, ensure that there is a build path (most likely this is not the case). Right click on your project, go to your build tab. Ensure that the Output Path is not empty (See screenshot below)

.

Solution 2 : Add the project to the other solution

I originally got the error when I had made a reference to a database project in a client application solution and rebuilt my server solution. After the above did not work for me, I simply tried adding the project (Right click the solution -> Add -> Existing Project), rebuilt, and all was well.

Hope this helps!

Comments (0) Trackbacks (0)

No comments yet.


Leave a Reply

No trackbacks yet.

%d bloggers like this: