I have a simple project with a couple of migrations that ran successfully before already. I have opened the project today and I can’t add any new migrations where I get the error: “MSB1008: Only one project can be specified”.
The command that usually worked: dotnet ef migrations add "TestMigration" --project src/Infrastructure --startup-project src/WebUI --output-dir Persistence/Migrations
I have tried changing the folder where I run the command in, I have also tried changing the command parameters and switched to older branches, nothing seems to work anymore.
This is the full error that I get:
MSBUILD : error MSB1008: Only one project can be specified.
Full command line: ‘C:Program Filesdotnetsdk6.0.321MSBuild.dll -maxcpucount -verbosity:m -restore -consoleloggerparameters:Summary ef migrations add Initial –project src/Infrastructure –startup-project src/WebUI –output-dir Persistence/Migrations -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,C:Program Filesdotnetsdk6.0.321dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,C:Program Filesdotnetsdk6.0.321dotnet.dll’
Switches appended by response files:
Switch: migrations
Any help is appreciated.