Results 1 to 3 of 3

Thread: [RESOLVED] How to disable auto-save feature in VS Pro 2019?

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2020
    Posts
    48

    Resolved [RESOLVED] How to disable auto-save feature in VS Pro 2019?

    Hi
    When I want to test some codes, after running the codes, VS Pro saves it, but I want to save only when I press the save button.
    Is there any way to disable auto-save feature?

  2. #2
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,458

    Re: How to disable auto-save feature in VS Pro 2019?

    I don't think there is such an option ,the build process requires the files to be saved.

    If you are only making small changes then you can still use the undo feature after a save, for more complex changes you are probably better of using some form of source code control.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,302

    Re: How to disable auto-save feature in VS Pro 2019?

    If you want to be able to test and discard changes then you ought to look into using source control. An Azure DevOps account is free and the functionality is built into VS. You can make changes to the current branch and then discard them to roll back to the last committed state or you can create a new branch and make as many changes as you like and then delete the branch without merging back into the original branch. It's not as simple as what you're suggesting but it has the advantage of actually being possible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width