I can easily create a vNext class library that compiles the source to .NET 4.5 and ASP.NET Core. I can also create a target for PCL (net40+sl50+wp80+win+wpa81+MonoAndroid10+MonoTouch10
). The problem is that I would like my library to also target 3.5 but adding net35
to the "frameworks"
list adds an entry in the references but expanding that shows that it actually imports .NET 4.5 assemblies so the compiled result is not targeting .NET 3.5 but instead 4.5...
Is is possible for the vNext class library to target .NET 3.5?
The references displayed on VS2015 show indeed a link to .NET 4
But the generated NuGet shows 3.5 :
However I was not able to test of this really works when running on Windows with only 3.5 installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With