Where is .NET framework 4.6.2?

Im trying to package a dotnet program, when i try to build i keep seeing this depedency(?) failing. on nixpkgs i only see SDK_{8,9,10} but those are not the framework.

.NET Framework (not to be confused with .NET Core and .NET Standard) is Windows-only

1 Like

Won’t exist, ever.

It was replaced by .NET.

1 Like

Eh, that was unspected…but how come?

The program im trying to build is dwsim, i tough it was possible to package on nix cause it had a debian package. is there something i can do?

Linux (64-bit x86) with .NET 8 Runtime or newer

1 Like

That means we cant build? and that to have this package we should convert from the debian package?

dwsim explains on github at the very bottom under Compiling that Visual Studio 2019 or newer on Windows is required.
So you can’t build this under linux!

1 Like

Well, i guess this solves the case, windows is needed to build for linux. so instead of trying to build i will move forward to convert the package from the debian release. Thank you all very much.

No, it says that .NET 8+ is supported on Linux, you don’t use .NET Framework. Share the code you wrote and the error.

1 Like

Yes, thank you!
You can find the code on the repo: GitHub - Felipe-9/nixpkgs at init-dwsim
As for the error message i will upload on same dir a file with the log, pasting here exceeds the possible characters i can write.

Note that we have Mono, which is an old reimplementation of .NET Framework that works on Linux. If this package has a Debian version and requires .NET Framework, it’s most likely using Mono.

You can search though nixpkgs for examples, we have a couple packages using Mono.

Please note though that all this is considered legacy and obsolete. It’d be best to try to contact the maintainers or try by yourself to update the program to use .NET 8 or newer first.