Pechkin icon indicating copy to clipboard operation
Pechkin copied to clipboard

.Net 2

Open waterboy550 opened this issue 11 years ago • 4 comments

I'm trying to compile a C# program using Visual Express 2010. The project needs to run on a Windows 2000 server, so .net 2 needs to set as the project framework.

When I compile the code it says that Pechkin.dll or one of its dependencies requires a higher version of .net framework.

I thought it was .net 2 compatible?

waterboy550 avatar Jan 23 '14 18:01 waterboy550

My fork is 2.0 compatible.

Link: https://github.com/gmanny/Pechkin/pull/42

tuespetre avatar Jan 24 '14 18:01 tuespetre

tuespetre fork works perfectly, but lacks the SynchronizedPechkin, so you can't use it on a multithread environment.

SynchronizedPechkin uses some .Net 4.0 components, which are incompatible with 2.0. I managed to solve this, by copying the needed classes from the Mono project, and compiling everything with .Net 3.5

Hope this helps!

jcarrenog avatar Feb 21 '14 16:02 jcarrenog

It lacks the SynchronizedPechkin class, but the factory manages a synchronized thread behind the scenes, so it is indeed multithreaded safe.

  • Derek Gray

On Feb 21, 2014, at 10:26 AM, "zevane" [email protected] wrote:

tuespetre fork works perfectly, but lacks the SynchronizedPechkin, so you can't use it on a multithread environment.

SynchronizedPechkin uses some .Net 4.0 components, which are incompatible with 2.0. I managed to solve this, by copying the needed classes from the Mono project, and compiling everything with .Net 3.5

Hope this helps!

— Reply to this email directly or view it on GitHub.

tuespetre avatar Feb 21 '14 23:02 tuespetre

@tupestre Sorry, didn't read! I'll give it a try right now, thanks :-)

jcarrenog avatar Feb 24 '14 09:02 jcarrenog