We use Aspose.Tasks 19.8.0.0 and it looks like you can no longer import MS Project 2016 files. Using “new Aspose.Tasks.Project(file)” on a recent 2016 file we get the following error:
System.IO.IOException
HResult=0x80131620
Message=An attempt was made to move the position before the beginning of the stream.
Source=mscorlib
StackTrace:
at System.IO.MemoryStream.Seek(Int64 offset, SeekOrigin loc)
at #=zY6NlXxDOfLrbA2ORm$u6WtLHsUx1uEjJQTQbfbg=.#=zXTIQ_9jjnmHU()
at #=zY6NlXxDOfLrbA2ORm$u6WtLHsUx1uEjJQTQbfbg=.#=zbvL_B6BEAm4N()
at #=zLQiq8TcaARLVEGhW1NjzGTZIBvBILDx_fw==.#=z_UGqDx0edzfx()
at #=zqrl6So0zKQKBMbIS7aI11tB_7n7MaxgMy1AbpeY=.#=zpbK3O1M=()
at #=z$Lb_vf8tw$fNlc3hJLAE1KKkZjZ0fw6tTQ==.#=zlv9y8Q0=()
at #=z$Lb_vf8tw$fNlc3hJLAE1KKkZjZ0fw6tTQ==.#=zlv9y8Q0=(Project #=znVXrWkE=, Stream #=zGgQIVvU=)
at #=z9LChlvQrb9cb6YjwWMpj$n8=.#=zlv9y8Q0=(Stream #=zGgQIVvU=, Project #=znVXrWkE=)
at Aspose.Tasks.Project.#=zRdFoNccAV45g(Stream #=zGgQIVvU=, ParseErrorCallback #=zspoLLFQl6EFf, Encoding #=z03j1CP0=, PrimaveraXmlReadingOptions #=zuJxr0gI=)
at Aspose.Tasks.Project…ctor(Stream stream)
at…
We believe this used to work.