Was able to narrow this down to a small bloCk of Code:
Using oFS As New IO.FileStream(path:=sPageImage, mode:=IO.FileMode.Create)
oPage.ResourCes.Images.Item(1).Save(stream:=oFS,
…...stepping through the code in Visual Studio, the error is raised...the project’s References and I c hose “Migrate packages.config...