MigSharp 4.0.1

.NET Standard 2.0
dotnet add package MigSharp --version 4.0.1
NuGet\Install-Package MigSharp -Version 4.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MigSharp" Version="4.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MigSharp --version 4.0.1
#r "nuget: MigSharp, 4.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MigSharp as a Cake Addin
#addin nuget:?package=MigSharp&version=4.0.1

// Install MigSharp as a Cake Tool
#tool nuget:?package=MigSharp&version=4.0.1

A .NET framework for multi-database platform migrations, versioning and schema modifications. Write database migrations and/or schema modifications in your favorite .NET language and let Mig# generate the platform-dependent SQL code and update your schema. Features: fluent interface, automatic versioning, multi-module support, scripting to SQL files, validation framework for portability issues, suport for SQL Server, Oracle, MySQL, Teradata, SQLite, legacy integration and more.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on MigSharp:

Package Downloads




GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.0.1 26,966 1/16/2018
3.2.1 2,836 7/7/2017
3.2.0 4,268 11/16/2016
3.1.3 1,222 10/23/2016
3.1.2 993 10/23/2016
3.1.1 1,282 8/23/2016
3.1.0 2,828 7/26/2016
3.0.0 4,284 12/17/2015
2.3.4 1,550 11/20/2015

- Added lost xml-doc file

This major release is fully compatible with the previous DB schema that Mig# used to keep track of migration history; in other words you can upgrade to this version and use it on existing databases
- targeting .NET Standard 2.0 so Mig# runs on both .NET Framework and .NET Core
- using MEF2 (Microsoft.Composition)
- Migrate.exe and Generate.exe are not part of the NuGet package anymore (open an issue if you feel you need these tools in order to start a discussion)
SQL Server:
- dropped support for SQL Server 2005 and SQL Server 2008 (although, Mig# very likely still runs on those platforms too)
- Managed: switched to Oracle.ManagedDataAccess.Client
- ODBC: continues to work as in Mig# 3.x (also works on .NET Core)
- dropped support for Teradata (open an issue if you miss that support so we can discuss)
- #70: Generate.exe Throws Exception when called with no arguments