Create a function which extracts the TargetFramework of a given projectfile