How to edit the visual studio, devenv.exe.config, file since it is read-only

Welsh, Scott E Collins 0 Reputation points
2024-10-15T17:56:14.24+00:00

The file devenv.exe.config is read-only. How do I edit it from within visual studio so that I can add the proxy to it.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,231 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.
1,053 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,416 Reputation points Microsoft Vendor
    2024-10-16T02:59:15.7466667+00:00

    Hello @Welsh, Scott E Collins,

    Welcome to Microsoft Q&A forum.

    I checked locally, the devenv.exe.config file, in this directory => C:\Program Files\Microsoft Visual Studio\2022\<edition>\Common7\IDE. It can be opened, edited and saved correctly.

    Please kindly try or check following:

    1. Right-click the devenv.exe.config file > Properties > check if the "Read-only" option has been unchecked. User's image
    2. Right-click the devenv.exe.config file > Open with > choose Notepad, see if you can open, edit and save it by using Notepad.
    3. Run VS as administrator, and open the devenv.exe.config file, check if this works.
    4. Try to check the limitations on your machine, especially permission limitations. Contact with your administrator/IT, see if they set some limitations(antivirus/security management software...) on your machine and block you from editing/saving files. User's image User's image

    Please feel free to let us know the results:)

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.