I cloned an ASP.NET Core 2 project with git and it uses Entity Framework Core with MySQL database.
services.AddDbContext<ApplicationDbContext>(options => options.UseMySql(Configuration.GetConnectionString("Default")));
Is it possible for me to contribute on this project but use my local SQL Server instead of MySQL and don't change this on source?
I tried changing
UseSqlServer with the right connection string but it threw exception in migrations.
Not easily. If the application wasn't designed with this scenario in mind, you may have to update a lot of it to work on Microsoft SQL Server.
If you're just trying to avoid installing MySQL locally, I've found using Docker ideal for that. (See the mysql/mysql-server image.)