简体   繁体   中英

Unable to launch a wpf application on windows XP machine

I have created a WPF application with target Framework 4.5 on Windows 8 machine. The application has reference to two c# dlls with same same target framework. I have used Linq to entities to connect to a MS Sql server database in my application.

Now, When I tried to run the same application by running the exe file located in Debug folder in a Windows XP machine, it gives following error message

D:\\Main\\TPMS\\Debug\\TPMS.exe is not a valid win32 application.

What is the issue here?

.NET Framework 4.5 is not supported on windows XP. Try targeting .NET Framework 4.0. Another option is to use Mono but since it lacks support of WPF then you should stick to .NET Framework 4.0

The .NET Framework 4.5 and later versions are not supported on Windows XP

NET Framework 4.5 and Windows XP

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM