sskodje / ScreenRecorderLib

A .NET library for screen recording in Windows, using native Microsoft Media Foundation for realtime encoding to h264 video or PNG images.
MIT License
414 stars 94 forks source link

How to upgrade from version 3.1.2 to 5.1.1 #185

Closed SID9-HoneyBee closed 2 years ago

SID9-HoneyBee commented 2 years ago

After the package update, it was confirmed that many parts of the source code had to be modified.

To refer to this, I tried to run the project's DemoApp, but it is impossible to check due to numerous errors.

There is a difficulty in compiling the attached DemoApp.

How can I easily fix a lot of things that have changed?

sskodje commented 2 years ago

Yes, there's quite a few breaking changes, mostly related to the configuration layout. You can check out the wiki for some examples. Are you using vs 2019 or 2022? It's odd if compiling a clean copy from git doesn't work.