NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

.NET Framework cross compatibility?

Open zedle opened this issue 4 years ago • 6 comments

Wondering if there's a way to have this target both as many libraries do. We're in the process of transitioning to Core but would like to use this in our Framework 4.6 app in the meantime if possible.

Thanks!

zedle avatar Nov 08 '19 20:11 zedle

.NET Framework 4.6: Install-Package NetCoreServer -Version 1.9.0 .NET Core 2.0: Install-Package NetCoreServer -Version 2.0.0 .NET Core 3.0: Install-Package NetCoreServer -Version 3.0.0

chronoxor avatar Nov 09 '19 18:11 chronoxor

Thanks! There should be a way to target all three with one package by the way. We've done it before internally. May be worth going that path so you don't have to maintain 3 versions.

zedle avatar Nov 10 '19 14:11 zedle

Thanks for this, I too needed to use the package in 4.6.1 Framework

h0st1le avatar Dec 26 '19 19:12 h0st1le

Any chance of Websocket support in the 1.9 (.NET Framework) branch?

h0st1le avatar Dec 30 '19 18:12 h0st1le

If anyone runs across this and finds themselves in similar need. I merged the latest net core branch into the net framework branch, adding websocket support etc.

Install-Package NetCoreServer -Version 1.9.1

h0st1le avatar Dec 31 '19 14:12 h0st1le

@h0st1le thanks a lot! Your merged version 1.9.1 uploaded to Nuget!

chronoxor avatar Dec 31 '19 18:12 chronoxor