Closed MarkTallentire closed 2 months ago
After playing around a bit more the workaround here is to complete the publish step prior to the migration bundle step. I still think this is unwanted behaviour because the bundle shouldn't be messing with the built files at all.
Hello, we have the same issue, ef tool seized to function after porting to net8. What do you mean by completing the publish step prior to the bundle step? I.e. Dotnet publish?
I don't quite understand when the exception is thrown. Could you create a repro using just manual steps (or a simple script) that shows it?
EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.
Hello.
Very strange issue we are currently experiencing after updating our project to .Net 8.
As part of our pipelines we run ef migrations bundle with the following commands
This worked perfectly fine when we were running a combination of .net6 and .net7 but in .net8 it seems to be messing with the build created in the previous step of our pipeline and causing the following
ReflectionTypeLoadException
error which is only observed during runtime:If I remove the migrations steps from my pipeline everything builds and runs as expected. I have tried adding
--no-build
and messing with the other commands like runtime etc to no avail. Adding the-v
flag shows everything running fineOutput from -v:
Pipeline in full: