bjeverett
asked on
"Load of property 'OutputPath' failed" Error
When trying to build a solution in Visual Studio 2003, I receive this error:
"Load of property 'OutputPath' failed. The 'Output Path' must be under the project folder."
The OutputPath property of the project is set to the "bin\debug" folder which exists in the project directory.
What causes this error?
"Load of property 'OutputPath' failed. The 'Output Path' must be under the project folder."
The OutputPath property of the project is set to the "bin\debug" folder which exists in the project directory.
What causes this error?
ASKER
Yes, the project is in a TortoiseHg source control directory.
However, "bin" and "obj" are the only folders in the project that are NOT under source control.
However, "bin" and "obj" are the only folders in the project that are NOT under source control.
Only time I have seen this is when it was already under source control but locked, hmm is it just co-incedence that it is not under source control. I wouldn't have thought it would matter but VS can be funny. Maybe try putting it under source control - and seeing if it is related. Or taking the project out of source control completely and see if you still have the problem, I would guess not - but atleast might get a pointer to what is causing the problem.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The problem was a result of having a multiple project solution with multiple dependencies. One of the shared assemblies wasn't getting updated properly.
Otherwise some reference seems to have been messed up somewhere - could spend a long time trying to find the problem - or it may be simpler just to recreate the project again.