question

RaulpBlooper-8357 avatar image
0 Votes"
RaulpBlooper-8357 asked TianyuSun-MSFT commented

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

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

dotnet-visual-basicvs-setup
image.png (12.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered

Hi @RaulpBlooper-8357 ,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RaulpBlooper-8357 avatar image
0 Votes"
RaulpBlooper-8357 answered TianyuSun-MSFT commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @RaulpBlooper-8357 , please feel free to let me know if you have any updates. Besides, I think you may need to reboot your machine to check if adding them work.

0 Votes 0 ·