I want to create a custom Visual Studio Project Template.
Can I read the location path, that is specified in the New-Project-Wizard in Visual Studio?
My goal is to import a file with custom build targets. This file located in a directory relative to my new project.
I tried it this way:
<Import Project="..\Deployment\custom.targets" />
But when creating a new project from my template it will point to a temporary users directory .
On MSDN I found this article that indicates there is no parameter that contains the location path. I can’t believe that…
Can anyone help me out here?
Since I do not need my custom targets when instanciating a project I solved this with a condition: