Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Add DbUp File
Add DbUp File

Add DbUp File

Kenneth Scott

|
2,189 installs
| (0) | Free
The fastest and easiest way to add a DbUp file to any project
Download

Add DbUp File

Shamelessly tweaked and stripped down version of Mads Kristensen's excellent AddAnyFile extension. It has one simple purpose - to provide a way for easily adding new dbup sql and cs files to any project. Simply hit Shift+F2 to create an empty script file in the selected folder or in the same folder as the selected file.

See the changelog for updates and roadmap.

Features

  • Filenames are automatically prefixed with ccyymmdd_hhmmss_ and restricted to one period
  • Marks new sql files as embedded resources (but not cs files)
  • Sql and cs templates relevant to dbup

Add new file dialog

Show the dialog

A new button is added to the context menu in Solution Explorer.

Add new file dialog

You can either click that button or use the keyboard shortcut Shift+F2.

Create folders

Create additional folders for your file by using forward-slash to specify the structure.

For example, by typing scripts/test in the dialog, the folder scripts is created if it doesn't exist and the file test.{selected ext} is then placed into it.

See the README on github for more info.



Looking for the new x64 (VS2022) version of the extension? Download it at the VS Gallery.



Disclaimer: I am not affiliated with the DbUp project.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft