D
D
Dmitry Afonchenko2016-03-24 16:05:39
.NET
Dmitry Afonchenko, 2016-03-24 16:05:39

Why does a C# project compiled on Windows 7 not work on Windows 8 and Windows 10?

Good afternoon, comrades, the following question arose. I'm doing a project on VS2013, the machine is Windows 7. I'm using .NET 4.5, I'm making a project on WPF. I give it to the user who has Windows 10 on the computer. The program freezes and does not start. I installed a virtual machine for myself and installed Windows 10 on it and VS2013 on it, compiled the project without changing anything. The version compiled under ten works for the user, what could be the reason? Thanks in advance for your replies! I read that Avast may be the root of evil, but Avast was absent on the computers being checked.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Kuznetsov, 2016-03-24
@Indermove

Compatibility: https://msdn.microsoft.com/en-us/library/bb822049%... It also tells you how to check the .NET version on the machine.
The default version in Win10 is .NET 4.6 (or 4.6.1 in updated Win10). If you are compiling a project using .NET 4.5/4.5.1/4.5.2, then it's good to install the same .NET version on Win10.

V
Vyacheslav Zolotov, 2016-03-24
@SZolotov

See with a remote debugger.
There can be a lot of reasons, but only you will find which one is correct.

L
littleguga, 2016-03-24
@littleguga

Check the bit depth of 32x and 64x, do they match?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question