Github CoPilot agent mode unable to modify files in Visual Studio community 2022

David Fox 10 Reputation points
2025-08-03T12:45:30.88+00:00

as per the details in this thread
https://learn.microsoft.com/en-us/answers/questions/3856099/visual-studio-github-copilot-agent-mode-not-workin

Copilot is self reporting that it cannot modify any files in my React/React-Native VS project.
The functionality was available last week, but appears to have been broken by the latest VS community update from MS.
I have raised a bug at Github, but this appears to be due to a Microsoft change.
VS Code is reported to work correctly.

Microsoft Copilot | Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Dirk Watkins 0 Reputation points
    2025-08-04T17:44:34.5033333+00:00

    Same thing for me. Copilot says: "It seems there may be some issues with file editing in this context. Let me try to make a simple change with run_command_in_terminal to validate what's happening:"

    Microsoft Visual Studio Community 2022

    Version 17.14.10 Preview 1.0

    VisualStudio.17.Preview/17.14.10-pre.1.0+36327.8

    Microsoft .NET Framework

    Version 4.8.09032

    Installed Version: Community

    ASP.NET and Web Tools 17.14.120.49862

    ASP.NET and Web Tools

    Azure App Service Tools v3.0.0 17.14.120.49862

    Azure App Service Tools v3.0.0

    Azure Functions and Web Jobs Tools 17.14.120.49862

    Azure Functions and Web Jobs Tools

    C# Tools 4.14.0-3.25359.3+6dbcfd2f553ef1ef0ac48878ab17d18c1360735d

    C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

    CodeMaid 12.0

    CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.

    Common Azure Tools 1.10

    Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

    CreateUnitTestBoilerplateCommand Extension 1.0

    CreateUnitTestBoilerplateCommand Visual Studio Extension Detailed Info

    GitHub Actions 0.1.102

    A window that provides a view of GitHub Actions for the current repo of the opened solution in Visual Studio. Provided by @timheuer

    GitHub Copilot 17.14.939.21063

    GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

    Microsoft Azure Tools for Visual Studio 2.9

    Support for Azure Cloud Services projects

    Microsoft JVM Debugger 1.0

    Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

    NuGet Package Manager 6.14.1

    NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

    Razor (ASP.NET Core) 17.14.3.2530601+3372435431977e91904a23ceb1eab689badc1bd9

    Provides languages services for ASP.NET Core Razor.

    SQL Server Data Tools 17.14.26.0

    Microsoft SQL Server Data Tools

    SQL Server Data Tools SDK Style (Preview) 17.14.13.1

    Microsoft SQL Server Data Tools for SDK Projects

    TypeScript Tools 17.0.40502.2001

    TypeScript Tools for Microsoft Visual Studio

    Visual Basic Tools 4.14.0-3.25359.3+6dbcfd2f553ef1ef0ac48878ab17d18c1360735d

    Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

    Visual F# Tools 17.14.0-beta.25230.7+c1a9d78ad4a474a716ccffb4367ed5151e3f7c9f

    Microsoft Visual F# Tools

    Visual Studio IntelliCode 2.2

    AI-assisted development for Visual Studio.

    0 comments No comments

  2. Piotr Latusek 0 Reputation points
    2025-08-11T11:14:36.8666667+00:00

    I have the same issue, Visual Studio 17.14.10. It started recently, everything was working fine before. Copilot edits a file with correct changes but then seems to think it did not apply any change so it tries to edit the same file with the same changes again using a different method and after a few attempts it either gives up (session ends without accomplishing the task) or it tries deleting the file entirely and re-creating it from scratch. This bug really blocks any ability to do anything with Copilot since it hangs this way on the first file it tries to edit.

    0 comments No comments

  3. Rayen Ghanmi 0 Reputation points
    2025-08-12T12:14:48.16+00:00

    Facing the same issue on Visual Studio 17.14.11

    0 comments No comments

  4. Sahil Maiyani 0 Reputation points
    2025-08-13T15:19:55.67+00:00

    Facing the same issue on 17.14.11. Any solution?

    0 comments No comments

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.