Every Visual Studio version has a DISTRIBUTABLE CODE section in the EULA. The VC runtime and the .Net Framework (when available) are among the listed redistributables.
E.g. this is in Visual Studio 2022 EULA:
4 DISTRIBUTABLE CODE. The software contains code that you may distribute in applications you develop as described in this Section. For purposes of this Section 4, the term “distribution” also means deployment of your applications for third parties to access over the Internet.
a. Right to Use and Distribute. The code and text files listed below are “Distributable Code”.
i. Distributable List. You may copy and distribute the object code form of code listed on the Distributable List located at https://aka.ms/vs/17/redistribution.
This is in Visual Studio 6 EULA
3.2 Redistributable Code-Standard. Microsoft grants you a nonexclusive, royalty-free right to reproduce and distribute the object code form of any portion of the SOFTWARE PRODUCT listed in REDIST.TXT ("Redistributable Code") . NOTE: certain Redistributable Code may be subject to the restrictions in Section 3.3 if it is also identified as "Limited Use Redistributable Code."
Note: you may obtain prerequisites from other sources, such as other versions of Visual Studio, or another Installer authoring program. If you include a file that is not from your current Visual Studio version, you need to follow the EULA that applies to the file.