I'm trying to create a plugin for CamBam Plus 1.0 in VS2019. I'm using the code from the tutorial:
http://www.cambam.info/doc/api/CreatingAPlugin.htmAs recommended, I used the link in:
http://www.cambam.info/downloads/ to install Framework 4.
That installs .Net Core 3.1, which supposedly contains many legacy frameworks, such as Framework 4.
Now when starting a new Project in VS2019, the Target Frameworks presented as options include: .Net Standard 2.0, and .Net Core 3.1. I chose .Net Core 3.1.
My first compile complained that System.Drawing.Common is not available. Reading online I see that adding that package with NuGet is the solution. The oldest version available was 4.5. I downloaded that and added it as a reference.
Now it compiles without errors or warnings.
I copied my plugin .dll and System.Drawing.Common to the plugins folder.
Upon starting CamBam I get the message: Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, ...
I've used VS for 2 decades, but never with a mix of older components like this; so I am unfamiliar with assembly redirects and such.
Does anyone have advice on how to proceed?
Tia,
Bill