ookii-dialogs / ookii-dialogs-wpf

Awesome dialogs for Windows Desktop applications built with Microsoft .NET (WPF)
BSD 3-Clause "New" or "Revised" License
1.14k stars 85 forks source link

Update CsWin32 version (#137) #141

Open ptsoccer opened 1 year ago

ptsoccer commented 1 year ago

Updated CsWin32 version and fixed various breaking changes.

One of the things I ran into was that it seemed like .NET Core 3.1 no longer compiles in this project. It seems like 3.1 has a dependency on CompilerServices.Unsafe 4.x.x.x and CsWin32 now requires version 6.x.x.x. This was causing: 1. Conflicting version warnings in the 3.1 build. 2. Compile errors since version 4.x.x.x was a primary reference, it didn't support Unsafe.SkipInit. Since core 3.1 is out of support, I figured it would be easiest to just drop it since it was causing problems. I've also dealt with enough nuget versioning issues to know that this likely is a pain to solve.