문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top