So I guess I managed the upgrade
Maybe I can save someone some time by listing where I struggled
First of all: Read the Wiki page and the existing questions 300 times
But then again, quite some information is missing.
I use .Net Framework 4.72 on WPF
Basically I needed 3 nuget-libraries:
fo-dicom 5.03
fo-dicom.Imaging.Desktop
fo-dicom.Codecs
Update all other nuget libraries especially Microsoft.Extensions.DependencyInjection.
That gave me 550 Errors that needed to be taken care of but that wasn't really a problem. Make sure you update to the async Interface, but that isn't really a problem eighter (besides the problem solved as mentioned above)
Then at the beginning of the application I had to add
new DicomSetupBuilder()
.RegisterServices(s => s.AddFellowOakDicom().AddTranscoderManager<FellowOakDicom.Imaging.NativeCodec.NativeTranscoderManager>())
.SkipValidation()
.RegisterServices(s => s.AddImageManager<WPFImageManager>())
.Build();
the parameter
WPFImageManager should be added to the FO-Dicom instructions, I had to guess it, only WinFormsImageManager and ImageSharpImageManager I saw there.
That basicall does it
I wasn't able to fully test the communication yet (Worklist SCU and SCP work).
I had to remove all the work I had to do in V 4.08 to make encoding of "Umlauts" work and was extremely happy to see that V 5.03 finally does it correct without my help. As soon as I can try with an ultrasound device I will know more. But I think it will be ok too.
So thank you again all contributors to fo-dicom. This is a fantastic project getting better by every version!
-Schlomo