Hello,
the openssl-native.targets file in the build folder is for donet projects. As it is located directly in the build folder it is included in each project, regardless of the project type. So it is also included in .vcproj files. There it causes an error while loading the project because TargetFrameworkVersion is not defined (empty) and thus .Substring(0,2) is not valid.