I need to use TextTransform and I have currently this pre-build Event, which it's working:
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\TextTransform.exe" -a !!BuildConfiguration!$(Configuration) "$(ProjectDir)Properties\AssemblyInfo.tt"
But I wanted to replace the \2019\Enterprise\
with variables according to the user version/edition, tried to google and search here but didn't found anything.