MSBuildProjectDirectory does not exist

Hey there,

I've installed FinalBuilder on the build machine (the same as TFS itself) and now I created a build and queued it. Nothing fancy, just a console application with the default Hello World in it.

But when running it, it says "MSBuildProjectDirectory does not exist" and that's a MSBuild variable or something. It says this in the Build Solution action.

Any idea where it should get it from? I currently replaced it with "%SourceRoot%\Folder" so that it at least builds.

Hi Dennis,

MSBuild variables are not automatically available as FinalBuilder variables, if you wish to use the MSBuildProjectDirectory variable value in your FinalBuilder script then you'll need to create a variable in FinalBuilder, then right click on the Build Definition and select 'Edit FinalBuilder Projects' and then click 'Edit' on the project. You can then set the FinalBuilder variable in the 'Variables to Set' grid, setting the value to $(MSBuildProjectDirectory).

Regards,
Paul.