Question

So i know that C# require .Net be installed, because of BCL, CLR, etc...

But i have a WPF application, supposed to work in win98-XP, and can't install .Net higher, than version 2, so WPF requires 3.5 afaik.

So idea is in static linking. Can I staticaly link all used libraries (mscorlib, clr, etc) and launch it like a simple native application? I don't care if application size is many mbytes, it just should work.

Was it helpful?

Solution

In fact the initial version of WPF ran on .net 3.0 so in principle that's the minimum version that you need. Of course, .net 3.0 requires XP or later and does not support Windows 98.

The essential problem that you have is not that the framework installer won't run on Windows 98. The problem is that .net 3.0 and the WPF framework use functionality that does not exist on Windows 98. Even if you get all the .net framework DLLs onto Windows 98, they won't run because the depend on functionality that does not exist on Windows 98.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top