Background : I am trying to setup a build machine for dot net project . I need VS Build tools.
I have been trying to install Visual Studio Build tools behind Proxy, but installation gets blocked. Hence I used the offline installer method .
I downloaded vs-buildtools from this location "https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15"
I followed this link to setup offline installer "https://blogs.msdn.microsoft.com/vcblog/2016/11/16/introducing-the-visual-studio-build-tools/"
My command looks like
vs_buildtools__1032894232.1529299355.exe --layout C:\softwares\vsoffline --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.NetCoreBuildTools --add Microsoft.VisualStudio.Workload.WebBuildTools --add Microsoft.VisualStudio.Workload.VCTools --lang en-US
I see a download window with message "Download is completed."

Then I see a error window with message
"Error: An item with the same key has already been added.
Press any key to continue...Error: An item with the same key has already been added."

Any idea what's going wrong.
I thought it may be due to having an old VS in my laptop, so created a new vm in AWS without any VS installation and tried. Getting same error.
I don't know nothing about this installer, but I've noticed that you have two identical records in your command line:
--add Microsoft.VisualStudio.Workload.VCTools
I'd suggest that you should only include every module once.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With