Not able to install the Visual Studio 2022 or any version behind the proxy

Raulp Blooper 1 Reputation point
2022-05-02T15:09:27.883+00:00

Hello,
I am an avid fan of visual Studio. But lately i am very disappointed when I was not able to install it on my Office PC .

I have tried changing the machine.config as below at both the below places : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config and C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

as below at the end just before the </configuration> TAG

<configuration>
.. .. ..

<system.net>  
  <defaultProxy useDefaultCredentials="true" />  

</system.net>
</configuration>

But on launching the VisualStudioSetup or the vs_proffessional I always get the below screen which never moves forward.

198302-image.png

There was a release note in the Visual Studio which states that it uses the default proxy but seems like it is not taking? Is there any way to install the Visual Studio behind the proxy? Where to state the proxy address? I seem to stuck in this for a week but no resolutions so far !

Please guide soon !
Best ,
Rp

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
963 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,266 Reputation points Microsoft Vendor
    2022-05-03T06:38:47.23+00:00

    Hi @Raulp Blooper ,

    Welcome to Microsoft Q&A forum.

    Please try to add 23.77.21.104 aka.ms into the hosts file in C:\Windows\System32\drivers\etc\hosts. Besides, you may need to add several Microsoft domain URLs to the allowlist. Check this doc: URLs to add to an allowlist for more details.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

  2. Raulp Blooper 1 Reputation point
    2022-05-06T06:08:00.35+00:00

    Hello,
    Thanks for the response.
    Only adding this url doesnt solve the problem I am behind the proxy, I will check by adding these allow list additions.
    Regards,
    R