I have a wpf application in .net framework with x86 dependent library where it compiles and run with AnyCPU and prefer32 but true. When app is migrated to .net6.0 Same setup is not working. I am unable to load x86 library. Now app is forced to use x86 instead of any cpu. prefer32bit true does not have any significance. With this setup, app will have 2GB memory and i want to use 4GB memory.
Can i use AnyCPU + Prefer32bit=true and still load x86 dependent library for .net6.0 wpf app?