Repository navigation
Replies: 1 comment
|
It can't be switched off, but you can send it somewhere harmless. The reason it lands in your project root is that the CLI and the library have different defaults.
Why it can't be disabled Every migration creates a "change drop" folder, What works in every environment Point it at the OS temp directory: services.AddGrate(builder => builder
.WithConnectionString(connectionString)
.WithOutputFolder(Path.Combine(Path.GetTempPath(), "grate"))
// ... your other settings
);
Alternatively, use the same location as the CLI: Making the library default match the CLI's (or adding an option to skip copying scripts) would be a reasonable issue to open. The docs only describe the CLI default. |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to just disable the output folder entirely? I have not specified a folder, but the output turns up in my project root anyway, which is not the default location described in the documentation. Having the files there makes Visual Studio very confused. I have no need for the files, and I'd rather not have to try to figure out a safe place to dump them that will work in every environment.
All reactions