Hi again,
I finally found an answer just after posting.
I removed the CreateItem and get the path like this, with the $(MSBuildProjectDirectory) property
I finally found an answer just after posting.
I removed the CreateItem and get the path like this, with the $(MSBuildProjectDirectory) property
<Exec Command=""$(AppCmd)" add app /site.name:"$(VDirRootCreation)" /path:%(WebAppList.WebAppPath) /physicalPath:$(MSBuildProjectDirectory)\%(WebAppList.WebAppLocation)"/>
It works :-)