![]() Using project 'C:\sc\ws1\YOV Services\Account\Account.EF.Migrations\Account.EF.Migrations.csproj'. This is new behavior and did not do this before upgrade to latest Visual Studio 2022.Ĭ:\sc\ws1\YOV Services\Account\Account.EF>dotnet ef migrations bundle -project. Notice towards the bottom, it's producing Account.EF.dll twice, but in two different paths, one in the * net7.0* folder, and now one in the * net7.0\win-圆4* folder. ![]() Cleaned solution, deleted bin and obj folders for all projects. It didn't help and now produces a different error. The Migrations project references the Entity Framework project.Īfter hitting this issue, I then proceeded to update all projects form. This project set up has the Entity Framework project, and a separate project for migrations. Use -verbose to see errors.Īt .MigrationsBundleCommand.Execute(String args)Īt .CommandBase.c_Displa圜lass0_0.b_0(String args)Īt .CommandLineApplication.Execute(String args)Īt .Main(String args) Try running a NuGet restore with the RuntimeIdentifier 'win-圆4'. Ĭ:\Program Files\dotnet\sdk\7.0.100\Sdks\\targets\.targets(448,5): error NETSDK1112: The runtime pack for .win-圆4 was not downloaded. ![]() Restored C:\Users\craig.garcia\AppData\Local\Temp\1\q2ywkzkn.oxh\efbundle.csproj (in 601 ms).Ĭ:\Program Files\dotnet\sdk\7.0.100\Sdks\\targets\(1136,5): warning NETSDK1179: One of '-self-contained' or '-no-self-contained' options are required when '-runtime' is used. Restored C:\sc\ws1\YOV Services\Account\Account.EF.Migrations\Account.EF.Migrations.csproj (in 536 ms). Restored C:\sc\ws1\YOV Services\Account\Account.EF\Account.EF.csproj (in 536 ms). Restored C:\sc\ws1\YOV Services\Shared\Shared.ConsoleServices\ (in 442 ms). Restored C:\sc\ws1\YOV Services\Shared\YOV.Contracts\ (in 240 ms). Dotnet publish -runtime win10-圆4 -output C:\Users\craig.garcia\AppData\Local\Temp\1\q2ywkzkn.oxh\publish -no-self-contained
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |