MSBuild 15.1.0 Install error with Ranorex 10.5.x

Bug reports.
User avatar
boxblinkracer
Posts: 6
Joined: Fri Aug 02, 2019 2:15 pm
Contact:

MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by boxblinkracer » Sat Dec 10, 2022 4:48 pm

Hi

I cannot install and use Ranorex 10.5.x, because of the error you see on the screenshot

I tried to install all kinds of MSBuild versions by now, also the explicit one from the error...still no success

can anyone help me? I had to downgrade Ranorex for now..so it's at least working.
if its indeed "just" a single install that I'm missing, maybe you can just provide me the URL for the correct version

thanks for your help
You do not have the required permissions to view the files attached to this post.

TMGottschalk
Posts: 3
Joined: Wed Mar 09, 2022 9:54 am

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by TMGottschalk » Fri Dec 16, 2022 8:39 am

I have had the same issue.

My solution: manual uninstall Visual Studio Build Tools, and then run the prerequisites.exe.
Install Ranorex Studio, and after this all works fine.

User avatar
doke
Posts: 112
Joined: Fri Mar 29, 2019 2:33 pm

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by doke » Fri Jan 20, 2023 4:08 pm

We have the same problem.

Installing visualstudio 2019 build tools before installing ranorex 10.5 solved it.

Regards,
Don

User avatar
boxblinkracer
Posts: 6
Joined: Fri Aug 02, 2019 2:15 pm
Contact:

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by boxblinkracer » Tue Feb 07, 2023 10:49 am

Hi

really sorry for the late reply (I actually forgot about it)

thank you for your help

I was able to solve it by downloading and installing the build tools for 2019 from this page
https://learn.microsoft.com/en-us/visua ... 19/history

I installed the "Desktop App" package and components (if someone doesnt know what to do)

then I installed Ranorex 10.5 and its now working :)

cheers
Christian

rka
Posts: 35
Joined: Fri Jul 03, 2015 7:54 am

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by rka » Thu Feb 23, 2023 2:56 pm

boxblinkracer wrote:
Tue Feb 07, 2023 10:49 am

I was able to solve it by downloading and installing the build tools for 2019 from this page
https://learn.microsoft.com/en-us/visua ... 19/history
Hi Christian,

the link goes to Visual Studio 2019, not the Build Tools. And I couldn't find the correct link. Do I have to download the Vistual Studio Installer and then select the Build Tools package? Which version should I use (community/pro/enterprise) or doesn't it matter?

Thanks and best regards,
Rafael

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

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by Stub » Fri Feb 24, 2023 10:01 am

rka wrote:
Thu Feb 23, 2023 2:56 pm
the link goes to Visual Studio 2019, not the Build Tools. And I couldn't find the correct link. Do I have to download the Vistual Studio Installer and then select the Build Tools package? Which version should I use (community/pro/enterprise) or doesn't it matter?
That link does link to the Build Tools, as that's what I used to get them to fix the problem here.
VS2019BuildToolsDownloadLink.png
You do not have the required permissions to view the files attached to this post.

rka
Posts: 35
Joined: Fri Jul 03, 2015 7:54 am

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by rka » Mon Feb 27, 2023 7:22 am

Oh man... I must have been blind :oops:
Thank you for the screenshot!

Btw. downloading and installing the BuildTools worked for me, too.

Baxter
Posts: 11
Joined: Wed Jun 29, 2022 10:03 pm

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by Baxter » Wed Jan 31, 2024 10:45 pm

unfortunately you still need an internet connectin to install the build tools from that link. is there a way to install the build tools without an internet connection?

umpani
Posts: 3
Joined: Wed Jan 30, 2019 11:03 am

Re: MSBuild 15.1.0 Install error with Ranorex 10.5.x

Post by umpani » Thu Feb 01, 2024 11:38 am

If you are restricted by a company policy and you can only install programs with an account with admin privileges that has no internet access then you have to do following:

With an account having access to the internet:
  1. Download the installer as it is mentioned above.
  2. Run following command:

    Code: Select all

    vs_BuildTools.exe --add Microsoft.VisualStudio.Workload.MSBuildTools --layout c:\temp\OfflineBuildTools --lang en-us
With the admin account (no need to have access to the internet):
  1. Switch to the folder you downloaded the offline installation.
  2. Run following command:

    Code: Select all

    vs_BuildTools.exe --noweb
  3. Wait for installer wizard to appear and click Install.