Open bergmeister opened 5 years ago
Regarding net45
, it's been out of support (https://support.microsoft.com/en-us/help/17455/lifecycle-faq-net-framework) so I don't think we should support that. It seems there is no reason we shouldn't use net46
vs net461
, so I would propose a 1.0.1 release built against net46
Ok, thanks for letting me know, I did not know that. When reading your link it sounded rather that net45 and net451 are deprecated but not net452. I would propose to build against net452
then.
net452
is tied to the OS, it looks like Server 2012 R2 is out of mainstream support and only in extended support. However, that extended support goes through 2023. So it seems ok to build against net452
.
Perfect :)
Opening the issue here, as suggested by Steve here.: Given the following csproj file:
Running
dotnet build
on it, results in a build error telling me thatnet461
is the lowest supported .Net version:Similar to the
Microsoft.PowerShell.5.ReferenceAssemblies
package, I expect it to work down to at leastnet45
and its other minor versions likenet451
ornet452
, etc. I am using the latest .Net SDK btw. cc @JamesWTruherP.S. By comparing it against the
Microsoft.PowerShell.5.ReferenceAssemblies
, it shows that the5.1
package was built againstnet461
whereas the5.0
package was build againstnet4
, therefore it seems that building againstnet4
should solve the problem. Also: the package does not declare this dependency, ifdotnet pack
was being used, I am sure that this dependency would've been visible in thenuspec
file and to the end user before even trying to install it.