I have an msbuild target and it has an Import tag like this:
<Import Project="$(MSBuildExtensionsPath)\Company\Company.LifeCycle.targets" />
In the contents of the Company.LifeCycle.targets file, how can I get the program version of the current directory (in this case: C: \ Program Files \ MsBuild \ Company ) ??
I am using VS 2008, .NET 3.5
Edit: I saw the link, How to get the current directory in the msbuild script? but not suitable for me: $ (MSBuildProjectDirectory me this value, C: \ Work \ Company \ Projects \ Test001 \ ProyectSW3
directory path msbuild targets msbuild-task
Kiquenet
source share