The tools version "14.0" is unrecognized

Ask general questions here.
cs97jjm3
Posts: 39
Joined: Mon Jan 14, 2019 4:30 pm

The tools version "14.0" is unrecognized

Post by cs97jjm3 » Wed Dec 16, 2020 9:56 am

I have had to move to a new machine for recording...


all my solutions not have The tools version "14.0" is unrecognized any ideas....
ranorex.png
ranorex.png (34.1 KiB) Viewed 418 times

robd.cognex
Posts: 1
Joined: Tue Dec 22, 2020 9:06 am

Re: The tools version "14.0" is unrecognized

Post by robd.cognex » Tue Dec 22, 2020 9:16 pm

I just ran into the same issue. For me installing the Visual Studio 2015 build tools did the trick.
https://www.microsoft.com/en-nz/downloa ... x?id=48159

User avatar
Stub
Posts: 443
Joined: Fri Jul 15, 2016 1:35 pm

Re: The tools version "14.0" is unrecognized

Post by Stub » Mon Jan 04, 2021 10:13 am

Have you installed the Microsoft Build Tools 2017, and specifically the .NET Framework Developer Tools Pack v4.6.2? Ranorex is very poor at getting that installed correctly.

cs97jjm3
Posts: 39
Joined: Mon Jan 14, 2019 4:30 pm

Re: The tools version "14.0" is unrecognized

Post by cs97jjm3 » Thu Jan 21, 2021 8:53 am

Hello Ranorex support came up with a solution...
Line #2 should read as follows:
• <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
You should only need to change the "14.0" to "4.0" for the ToolsVersion as seen above. You can always create a new blank solution and copy from that solution's project if needed. Do not copy all of the contents of the csproj though or you will break your project. If you would like to learn more about the structure and usage of a csproj file, I have included a link below:
• Microsoft Developer Network documentation
o To create a minimal MSBuild project file
https://docs.microsoft.com/en-us/visual ... oject-file



ps i did not have visual studio installed